Question: Fig 2 (a) Write code to create the web form as given above in Fig 2 . 1. Form has two fields, a text field

 Fig 2 (a) Write code to create the web form as

Fig 2 (a) Write code to create the web form as given above in Fig 2 . 1. Form has two fields, a text field that takes input of amount in ringgit and a select list with 3 options 'Select', 'Dollars' and 'Rupees'. II. When 'Convert' is clicked, it converts ringgits into the selected currency based on the conversion rate given in Fig 2. (b) Show server-side validation in the form handler to check - I. Amount field is not left empty II. Amount field is a number only III. select option has a currency selected. (c) If validation fails, redirect the user back to the web form with a message and with all the values to be used as a sticky form for the 'amount' field and the 'select list

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!