logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [FormBuilder] Validate option: msg#00000

Subject: Re: [FormBuilder] Validate option
> 
> I want to use a hashref for a validate option so I can set different  
> validation for javascript and perl. It's more convenient for me to  
> apply this via the field method rather than the new method. The  
> documentation implies that the field method only really supports a  
> standard regex but I've found that a hashref works just fine too. So,  
> the question is:  is there any reason I should not use a hasref for  
> the validate option of the field method?
> 

That worked fine for me, but if you do it in pieces after some 
logic, you have to get the value first, add to that hash, then 
assign back.

Mark
_______________________________________________
FBusers mailing list
FBusers@xxxxxxxxxxxxxxx
http://www.formbuilder.org/mailman/listinfo/fbusers



<Prev in Thread] Current Thread [Next in Thread>