RE: Form Validation

2005-06-22 Thread Gerald Richter
> > Gerald, is it possible this is a bug: > > I notice that your validation for the Number type uses this regex: > > /^\s*[0-9+-.][0-9.eE]*\s*$/ > > However, that fails on a value such as 9.516e-5, which is a > valid float. > > I believe you need to add a negative sign to the second > charac

Form Validation

2005-06-22 Thread allen haim
Gerald, is it possible this is a bug: I notice that your validation for the Number type uses this regex: /^\s*[0-9+-.][0-9.eE]*\s*$/ However, that fails on a value such as 9.516e-5, which is a valid float. I believe you need to add a negative sign to the second character class: /^\s*[0-9+-.][0

Re: Eratic Form Validation Behavior?

2002-10-15 Thread Gerald Richter
> > I would like to restrict {}[]()^$.|*+?\/@%!&, however, I receive script > errors. Does some of this need to be delimited out? > The / is the problem. It's already fixed in my dev version. I send it to you per private email Gerald

RE: Eratic Form Validation Behavior?

2002-10-14 Thread Justin Harrison
D] > Subject: Eratic Form Validation Behavior? > > > I am attempting to use "must_not_contain" to restrict > characters which can be entered in a form. > > I would like to restrict {}[]()^$.|*+?\/@%!&, however, I > receive script errors. Does some of this n

Eratic Form Validation Behavior?

2002-10-14 Thread Justin Harrison
I am attempting to use "must_not_contain" to restrict characters which can be entered in a form. I would like to restrict {}[]()^$.|*+?\/@%!&, however, I receive script errors. Does some of this need to be delimited out? It seems to restrict { fine, but nothing else. The documentation is kind of