Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

How do people develop skills?

Answered: 1 week ago

Question

What are three statistics that are used in the statistics budget?

Answered: 1 week ago

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago