From: Anthony E. <me...@an...> - 2002-06-02 22:55:10
|
I suppose it depends on which validator you are using. I must assume that the behavior you are looking for is: 1.) If field empty, return true as valid 2.) If field not empty, validate using assigned validators If that is the case, then you would have to put that logic in the validator (i.e. in a regular expression validator you would have to account for empty values). Perhaps it would be useful to be able to tag a field as optional? If you just wanted to have a value always ignored then you could just not assign a validator, but somehow I doubt this is your intention. Sincerely, Anthony Eden > -----Original Message----- > From: for...@li... > [mailto:for...@li...] On > Behalf Of Ken Keller > Sent: Sunday, June 02, 2002 3:35 PM > To: Anthony Eden; FormProc Developer List > Subject: [FormProc-developer] I'm running 1.0b2 > > > I'm running 1.0b2. > > How can I get the behavior of optional fields, i.e., empty > fields shouldn't be validated? -Ken > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's > Conference August 25-28 in Las Vegas -- > http://devcon.sprintpcs.com/adp/index.cfm > > > _______________________________________________ > FormProc-developer mailing list > For...@li... > https://lists.sourceforge.net/lists/listinfo/formproc-developer > |