Hi All,
I'm doing a simple form that has a checkbox which must be checked in
order to submit the form:
<form jwcid="[EMAIL PROTECTED]" clientValidationEnabled="ognl:true">
T&C:<input jwcid="[EMAIL PROTECTED]" value="ognl:readTC"
validators="validators:required"/>
<input jwcid="@Submit" listener="listener:confirm" type="submit"
name="Submit" value="Confirm"/>
</form>
but if I can still submit my form without the checkbox being checked,
so it looks like no validation is taking place.
When the page renders the js generated at the base of the html is:
<script language="JavaScript" type="text/javascript"><!--
Tapestry.register_form('myForm');
Tapestry.set_focus('tandcCheckbox');
// --></script>
I'm obviously missing a trick but I can't see what it is?
Thanks,
Adam.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]