hi,
i have a small problem validating index properties in my form.
in the validation.xml file i have the following definition
to validate my indexed properties. the validation works fine
for the first (index = 0) property. but i have a maximum of
18 indexed properties.
<form name="tipPlayingDayPreviewForm">
<field property="tipsIndexed[0]" depends="required,integer,intRange">
<arg0 key="tipPlayingDayPreviewForm.tipsIndexed" />
<arg1 name="intRange" key="${var:min}" resource="false" />
<arg2 name="intRange" key="${var:max}" resource="false" />
<var>
<var-name>min</var-name>
<var-value>0</var-value>
</var>
<var>
<var-name>max</var-name>
<var-value>20</var-value>
</var>
</field>
</form>
do i have to add all the 17 other indexed properties with explicit index, just
like the one above (only with different indexes), or is there a simpler way
to validate all the properties with only one definition ?
i could not find any documentation about that.
i link would be very helpful, too.
thanks in advance,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]