- Back to Home »
- CS101 Assignment no 3 Fall 2012 Full Solution
Posted by : Anonymous
Friday, 4 January 2013
Question: Marks 20
Make a registration form page using html and JavaScript. Your page’s output should look like as given below.
On fields you will apply checks according to details given below, For example using JavaScript you will apply Check on User Id, it should be of at least 5 characters and at most of 7 characters and should not be empty.
Script should check the fields one by one when you click submit button.
Clicking on reset button will clear all the fields. Hit: No need to use JavaScript to clear the fields
Value of action attribute of form will be Virtual University of Pakistan
Check 1 (on userid)
Check 2 (on Password)
Check 2 (on User Name)
Check 3 (on Country) (Note: Your country list can contain 5 to 6 countries)
Check 4(on Email)
Check 5 (on Gender Option)
Check 6 (on Form submission)
Make a registration form page using html and JavaScript. Your page’s output should look like as given below.
On fields you will apply checks according to details given below, For example using JavaScript you will apply Check on User Id, it should be of at least 5 characters and at most of 7 characters and should not be empty.
Script should check the fields one by one when you click submit button.
Clicking on reset button will clear all the fields. Hit: No need to use JavaScript to clear the fields
Value of action attribute of form will be Virtual University of Pakistan
Check 1 (on userid)
Check 2 (on Password)
Check 2 (on User Name)
Check 3 (on Country) (Note: Your country list can contain 5 to 6 countries)
Check 4(on Email)
Check 5 (on Gender Option)
Check 6 (on Form submission)