cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamal Bhatt <bh...@tt.com.au>
Subject Re: Form level validation 2.1.9
Date Sun, 16 Aug 2009 22:24:54 GMT
You can set a minimum (//fd:repeater/@min-size) and maximum  
(//fd:repeater/@max-size)on a repeater, does this satisfy your requirements?

If not, you could always hide the field using CSS.
>
> Hi,
>
>  
>
> I am trying to implement validation on a form to make sure a repeater 
> has at least one row.
>
>  
>
> I can do this by adding a field with that check, but the field has to 
> be active and visible. Is there a way to hide a field and still have 
> validation?
>
>  
>
> Thanks for any advice!
>
>  
>
> gary
>


-- 
Kamal Bhatt


Mime
View raw message