Question: iii. Add booking reference field to the data entry form Modify tma02_form.php to provide a labelled text field to accept a string of 10 characters

  • iii.Add booking reference field to the data entry form

    Modify tma02_form.php to provide a labelled text field to accept a string of 10 characters in the data entry form.

    (5 marks)

Mike wants to also capture the booking reference in the form.

Add a label with the text Booking Reference and a text input field to the data entry form. Note that the input field should have a size limit of 10 characters, and must be completed with 10 characters by the user, Mike does not want to capture information other than from customers, so every entry will have a booking reference. When the limit is reached it should stop accepting characters, but no message should be produced. Your new form field should have a suitable and meaningful name and use the same name as its id.

The field value should be empty when the page loads.

If you examine the supplied code carefully and observe how the current fields are added, those will give you a good framework from which you can create the additional field.

In your solution document, provide your code and a screenshot of the web page showing the updated data entry form. Note that at this point the displayed field will not generate the validation messages that the other fields do.

the code -

Admin: $mytitle"; //insert the h1 title ?>

tma02_coreadmin.php is running
In script tma02_coreadmin.php $webdata['action'] holds the value:
In script tma02_coreadmin.php $valid holds the value:
tma02_coreadmin.php has completed all actions
'; require 'tma02_foot.php'; //footer to end html document ?>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!