namespace Drupal\ajax_example\Form

Same name in other branches
  1. 8.x-1.x Drupal\ajax_example\Form
  2. 3.x Drupal\ajax_example\Form
Object name File name Summary
AutoTextFields modules/ajax_example/src/Form/Autotextfields.php Adds more text fields basing on AJAX-enabled checkbox clicks.
DependentDropdown modules/ajax_example/src/Form/DependentDropdown.php Re-populate a dropdown based on form state.
DynamicFormSections modules/ajax_example/src/Form/DynamicFormSections.php Dynamically-enabled form with graceful no-JS degradation.
EntityAutocomplete modules/ajax_example/src/Form/EntityAutocomplete.php A simple autocomplete form which looks up usernames.
Simplest modules/ajax_example/src/Form/Simplest.php A relatively simple AJAX demonstration form.
SubmitDriven modules/ajax_example/src/Form/SubmitDriven.php Submit a form without a page reload.
Wizard modules/ajax_example/src/Form/Wizard.php AJAX example wizard.