Re: [Proto-Scripty] Form Validator

2013-03-27 Thread Phil Petree
Thanks Jason...

That's essentially what tetlaws does... he does have a number of special
tests (currency, dates, alpha, digits etc.)  plus some callbacks so you can
write your own.  I found the problem with the selects and fixed those...
still some other issues.

On Tue, Mar 26, 2013 at 4:52 PM, Jason Westbrook jwestbr...@gmail.comwrote:


 I usually home brew one that looks for the required class and then adds
 an error class to that element and then at the end of the function test
 if there are 0 elements with the error class

 Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com


 On Tue, Mar 26, 2013 at 9:33 AM, Phil Petree phil.pet...@gmail.comwrote:

 Has anyone found a good form validator?

 I have been using the one by Andrew Tetlaw for several years and its
 worked really well but now with proto 1.7 and ie 9 I'm finding it no longer
 works (as in it doesn't see select where no option has been chosen.

 i.e. http://www.presspeek.com/contact/select.html

 I've rooted around but all the validators I found were all written circa
 2007 - 2008.

 --
 You received this message because you are subscribed to the Google Groups
 Prototype  script.aculo.us group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to prototype-scriptaculous+unsubscr...@googlegroups.com.
 To post to this group, send email to
 prototype-scriptaculous@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/prototype-scriptaculous?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 You received this message because you are subscribed to the Google Groups
 Prototype  script.aculo.us group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to prototype-scriptaculous+unsubscr...@googlegroups.com.
 To post to this group, send email to
 prototype-scriptaculous@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/prototype-scriptaculous?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prototype-scriptaculous+unsubscr...@googlegroups.com.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
Visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Proto-Scripty] Form Validator

2013-03-26 Thread Phil Petree
Has anyone found a good form validator?

I have been using the one by Andrew Tetlaw for several years and its worked
really well but now with proto 1.7 and ie 9 I'm finding it no longer works
(as in it doesn't see select where no option has been chosen.

i.e. http://www.presspeek.com/contact/select.html

I've rooted around but all the validators I found were all written circa
2007 - 2008.

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prototype-scriptaculous+unsubscr...@googlegroups.com.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
Visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Proto-Scripty] Form Validator

2013-03-26 Thread Jason Westbrook
I usually home brew one that looks for the required class and then adds
an error class to that element and then at the end of the function test
if there are 0 elements with the error class

Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com


On Tue, Mar 26, 2013 at 9:33 AM, Phil Petree phil.pet...@gmail.com wrote:

 Has anyone found a good form validator?

 I have been using the one by Andrew Tetlaw for several years and its
 worked really well but now with proto 1.7 and ie 9 I'm finding it no longer
 works (as in it doesn't see select where no option has been chosen.

 i.e. http://www.presspeek.com/contact/select.html

 I've rooted around but all the validators I found were all written circa
 2007 - 2008.

 --
 You received this message because you are subscribed to the Google Groups
 Prototype  script.aculo.us group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to prototype-scriptaculous+unsubscr...@googlegroups.com.
 To post to this group, send email to
 prototype-scriptaculous@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/prototype-scriptaculous?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prototype-scriptaculous+unsubscr...@googlegroups.com.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
Visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.