Back to Drupal Training Syllabus
Advanced Form API
Learning Objective
Trainee will be able to handle ajax in forms and dynamic forms
Course Content
-
Ajax in forms
-
Dynamic forms
Ajax-enabled forms in Drupal 7 offer dynamic form behavior with no page reloads and are easy to create and manipulate. They are a simple extension of the Drupal Form API.
https://www.drupal.org/node/752056
https://drupalize.me/videos/uploading-files-and-submitting-ajax-forms-si...
If the site administrator wishes a form where a user's answers in each step determine the options available in the next, Drupal has a solution.
https://drupalize.me/videos/creating-dynamic-forms-states-system?p=1145
Reference
http://www.zyxware.com/articles/5031/how-to-incorporate-ajax-into-a-drup...
https://buildamodule.com/video/drupal-7-development-core-concepts-how-to...
https://drupalize.me/blog/201401/getting-started-forms-drupal-8