DAC Bank is in the process of issuing various loans to its customers. To ease the customer they need to automate the feature of various loans issued by the bank like Vehicle, Home, Education loan etc.
Create a Web page “DAC BANK - AVAIL LOAN” that has the below fields
Note : Every tag has been given a mark. Make sure the element names are correct
To enter the name of the customer
To enter the address of the customer.
Use textarea with 5 rows and 20 columns.
To choose the gender. User Radio Button.
To enter the email of the customer. Use HTML5 component so that this field accepts only valid Email ID.
To enter the mobile number
Date of Birth
To select the date of birth. Use date type.
An auto-complete feature should be available to the user for the following options.
Vehicle, Home, Education
(ID of the auto-complete feature should be “loan”)
The text “Enter the Amount” should be displayed by default in the text box. When the user starts entering the amount, this text should disappear
To enter the period of loan. Use number type
On clicking this button, all fields should be reset.
· The component name should be same as given above.
· The fields customerName and loanAmount are mandatory.
· Gender should be either ‘Male’ or ‘Female’.
· Customer Mobile Number should be of 10 digits and should start with 9/8/7.
· Tenure can take a value between 1 and 5.
Customer on entering valid values and clicking the submit button display the message as
"Thank you <customerName>. Your Loan Amount is <loanAmount>" in a div tag with id "result".
Note: Use getElementsByName or getElementById function to retrieve the values
Quote:I could not come up with any solution for this
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)