Re: Making validation javascript more extensible

2005-04-13 Thread David Graham
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > How about rendering the span that you'll place the error message in as > part of what the tag renders? So... > > > > ...renders... > > > > ...then you can simply do as David I think it was suggested in terms of > setting innerHTML (or inn

Re: Making validation javascript more extensible

2005-04-13 Thread Joe Germuska
At 2:48 AM +0100 4/13/05, Niall Pemberton wrote: - Original Message - From: "David Graham" <[EMAIL PROTECTED]> Sent: Wednesday, April 13, 2005 2:08 AM --- Niall Pemberton <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "Joe Germuska" <[EMAIL PROTECTED]> > Sent: Tuesda

Re: Making validation javascript more extensible

2005-04-13 Thread Niall Pemberton
I developed an initial version back in December which can be downloaded here: http://www.niallp.pwp.blueyonder.co.uk/validatorjs.html The download includes a webapp which shows both the features and code. Niall - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> Sent: Wednesday

Re: Validation overhaul and integrated form bean config (was: Making validation javascript more extensible)

2005-04-13 Thread Ted Husted
On 4/12/05, Hubert Rabago <[EMAIL PROTECTED]> wrote: > Over a year ago Niall submitted a patch (which was not accepted) that > would allow validation using format strings used by the Java Format > classes (such as ###,##0.00). If there's going to be an overhaul of > validation, I would like suppor

Re: Making validation javascript more extensible

2005-04-13 Thread Ted Husted
On 4/12/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > Its "in-progress" - except I haven't given it any time so far this year :-(. > I am planning to re-visit it, as it has stuff I want to implement. Is the WIP anything you could check into the sandbox, so people could have a looksee? -Ted. -

Re: Making validation javascript more extensible

2005-04-12 Thread Frank W. Zammetti
How about rendering the span that you'll place the error message in as part of what the tag renders? So... ...renders... ...then you can simply do as David I think it was suggested in terms of setting innerHTML (or innerText... I seem to remember innerHTML not actually being DOM-compliant?)

Re: Making validation javascript more extensible

2005-04-12 Thread Niall Pemberton
- Original Message - From: "David Graham" <[EMAIL PROTECTED]> Sent: Wednesday, April 13, 2005 2:08 AM > > --- Niall Pemberton <[EMAIL PROTECTED]> wrote: > > - Original Message - > > From: "Joe Germuska" <[EMAIL PROTECTED]> > > Sent: Tuesday, April 12, 2005 8:54 PM > > > > > > >

Re: Making validation javascript more extensible

2005-04-12 Thread David Graham
--- Niall Pemberton <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "Joe Germuska" <[EMAIL PROTECTED]> > Sent: Tuesday, April 12, 2005 8:54 PM > > > > This page http://www.quirksmode.org/index.html?/dom/error.html > > demonstrates a more graceful way of alerting users to error

Re: Making validation javascript more extensible

2005-04-12 Thread Niall Pemberton
- Original Message - From: "Joe Germuska" <[EMAIL PROTECTED]> Sent: Tuesday, April 12, 2005 8:54 PM > This page http://www.quirksmode.org/index.html?/dom/error.html > demonstrates a more graceful way of alerting users to errors in their > form than an "alert" window. (In case you don't

Validation overhaul and integrated form bean config (was: Making validation javascript more extensible)

2005-04-12 Thread Hubert Rabago
On Apr 12, 2005 2:54 PM, Joe Germuska <[EMAIL PROTECTED]> wrote: > Speaking of all this, Niall, whatever happened to your proposed > overhaul of validation? That looked really promising. > > Joe > Over a year ago Niall submitted a patch (which was not accepted) that would allow validation using

Making validation javascript more extensible

2005-04-12 Thread Joe Germuska
This page http://www.quirksmode.org/index.html?/dom/error.html demonstrates a more graceful way of alerting users to errors in their form than an "alert" window. (In case you don't feel like clicking, it uses Javascript and the DOM to add a message and change the CSS style of the error fields.