User login

AJAX Form Messages, a proposed module

Update: See the module page,
and for the making of (in progress).

This module was requested by uberbytes, originally to make a proper module of the code attached to this post: Check for duplicate titles of a node with AJAX to warn immediately before entering more data or submitting.

It will also address this long-held need of Agaric's Prevent duplicate link submission when using CCK Link module with AJAX alerts.

Prior art

Some integration with CTools that doesn't go anywhere, but a reminder to look at CTools' implementation:

Oh here we go, the motherload, and it needs documentation:

Integrate CTools AJAX framework with Drupal to extend (and replace) existing ahah framework

See also Standardize the return of status messages in AJAX callbacks.

Older discussion of AJAX for forms for Drupal core:

One of the best-of-breed in contrib:

Ad hoc solutions:

Nedjo commenting on Starbow's Popups API, mentions he'd like everything forms-related in one module:
In the meantime he's said that Drupal 7 contains most of that module, so it won't be ported, and the rest can be found in

An issue on (the non-AJAX, D6) Inline Form Errors requests (optionally) place messages between form label and form element, which seems a good idea to try to allow.

Searched words: 
ajax messages ahah msg for drupal form elements drupal form inline validation form message


Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.