Hi All

I need to validate (within the CForms framework) that a set of checkboxes have all been checked.

I have tried adding <fd:validation/> but it does not appear to have an effect :

<fd:booleanfield id="mod-copyright">
<fd:label>
<i18n:text i18n:catalogue="local">moderate.mod-copyright.label</i18n:text>:
</fd:label>
<fd:hint>
<i18n:text i18n:catalogue="local">moderate.mod-copyright.hint</i18n:text>
</fd:hint>
<fd:help>
<i18n:text i18n:catalogue="local">moderate.mod-copyright.help</i18n:text>
</fd:help>

<!-- this does not work -->
<fd:validation>
<fd:assert test="mod-copyright = true">
<fd:failmessage>
<i18n:text i18n:catalogue="local">moderate.mod-copyright.error</i18n:text>
</fd:failmessage>
</fd:assert>
</fd:validation>

</fd:booleanfield>

Is there a way of handling this?

thanks for any suggestions.

regards Jeremy


--------------------------------------------------------

                  If email from this address is not signed
                                IT IS NOT FROM ME

                        Always check the label, folks !!!!!
--------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to