Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Drupal Ajax Form Validation and Submission

Loading...

Sign in or sign up now!
7,030
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 28, 2008

This is a custom module made for Drupal 5. If $form['ajaxform'] is set to true a form alter is done to setup the form for Ajax submission. The jQuery Form Plugin is used to submit the form via a 'ajaxform/process' path. On the server side form access permission is checked and the form is processed (validation/submission) using drupal_execute(). Any form validation error is passed back to the client and displayed.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 6 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • useless

  • Very cool tech demo, but the validation is pokey and not that much better refreshing the page.

  • Please add a link to show how you coded this.

    Thanks.

  • great, lovely... but what module are you using for this? Or how did you make it work code-wise? Info in your about text would be awesome. Thanks. :)

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more