This patch adds a simple validation demonstration (which should also go into D7). It's just a live, dynamic validation of a textfield.

I also did a bit of work rearranging menus and cleaning up the overall example. It had been sitting around for awhile. Also resolves #856656: AHAH simplest callback should be type MENU_CALLBACK..

CommentFileSizeAuthor
drupal.ahah_validation_rfay.patch20.91 KBrfay

Comments

rfay’s picture

Version: 6.x-1.x-dev »

This branch is broken, so the bot will never help us out. Trying to get that issue resolved...

Committed to DRUPAL-6--1. This still needs to be done in HEAD.

http://drupal.org/cvs?commit=394306

Status: Needs review » Needs work

The last submitted patch, drupal.ahah_validation_rfay.patch, failed testing.

rfay’s picture

Status: Needs work » Patch (to be ported)

It would also help this example to show actually manipulating the value in the validation routine.

tr’s picture

Version: » 7.x-1.x-dev

Setting version.

mile23’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Issue summary: View changes
Status: Patch (to be ported) » Fixed

No AHAH example in 7.x-1.x for porting.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.