Exercise on Javascript Knowledge - Drupal Training Curriculum for Drupal Companies

You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

Back to Drupal exercises for the in-class training

Exercise on Javascript Knowledge

Areas covered

  • Forms
  • Ajax
  • Javascript

Create a Drupal page with a registration form to register students in a college.
The fields should present in the form are 'Full Name', 'Date of Birth', 'Country', 'State', 'Zip Code'.

'Country' and 'State' are drop down and while selecting the country, state drop down should change according to the country.
While submitting the form, form validation should be there. Achieve the submission using AJAX