On 2/10/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > What I was planning for JS validation was an API that's very similar > to the existing validation API. You'd pass in the name of the field > to validate and all the data currently in the form and get back a > list of error messages on that field (which would be empty if > everything's OK). You need to pass all the data in, by the way, so > that validators like RequiredIfOtherFieldGiven can work. > > How's that sound? > > Jacob > It sounds good!
I've been working more on things at the Add/ChangeManipulator level, to allow you to bring up a dialog box and post a comment through Dojo's post thingy. the only real difference is that instead of a HTML template returning, it just returns a JSON object. --I -- [EMAIL PROTECTED] -- blog: http://feh.holsman.net/ -- PH: ++61-3-9877-0909 If everything seems under control, you're not going fast enough. - Mario Andretti