Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Add 'booking reference' field to the data entry form Modify tma02_data_form.php to provide a labelled text field to accept a string of 10 characters in
Add 'booking reference' field to the data entry form Modify tma02_data_form.php to provide a labelled text field to accept a string of 10 characters in the data entry form. (4 marks) Mike wants to also capture the booking reference in the form. Add a label with the text 'Booking Reference' and a corresponding text input field, and feedback element 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, the input field should stop accepting characters, but no message should be produced. Your new form field should have a suitable and meaningful name attribute and use the same name as its id. The field value should be empty when the page loads. Hint: If you examine the supplied code carefully and observe how the current labels, fields and feedback are implemented, these will give you a good framework from which you can create the additional label, field and feedback element ?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started