You are not logged in.
jakob wrote:
bq. enhancement: extended “name”+“value” dependency to “restrict” & “number” (for jakob)
Just for info: this makes it possible to do things like “at least one checkbox” is required.
How would I declare in in the code?
here is what I got:
(...)
<tr>
<td colspan="2"><txp:zem_contact_checkbox group="Campselect" label="Kids Kamp" name="Kids Kamp" required="0"/><span class="early">July 3 - 7 </span><br>
<txp:zem_contact_checkbox group="Campselect" label="Family Camp" name="Family Camp" required="0" /><span class="early">July 14 - 29 </span><br>
<txp:zem_contact_checkbox group="Campselect" label="Young Adult Camp" name="Young Adult Camp" required="0"/><span class="early">Aug 3 - 5</span><br>
<txp:zem_contact_checkbox group="Campselect" label="Youth Camp" name="Youth Camp" required="0"/><span class="early">Aug 6 - 11</span></td>
</tr>
(...)
<tr>
<td colspan="2">
<txp:zem_contact_submit label="Send" />
<txp:adi_contact_checkboxes names="Kids Kamp,Family Camp,Young Adult Camp,Youth Camp" />
<txp:adi_contact_combo names="Kids Kamp,Family Camp,Young Adult Camp,Youth Camp" require="Kids Kamp,Family Camp,Young Adult Camp,Youth Camp" restrict="min" number="1" message="Please check at least one camp that interests you" />
</td>
</tr>
not sure That i have it listed right as the form goes through no matter what.
Last edited by pafruu (2012-06-13 13:18:28)
I try, and I try, and I try…. and sometimes I achieve
Offline
ok I just tried removing the spaces in the names and it worked
I try, and I try, and I try…. and sometimes I achieve
Offline
wornout wrote:
Is possible to activate validation only if field are filled?
checkbox = “I have a code”
Code = xxx
Code repeat = xxx
Hi Edoardo,
I would hope so … if I’ve understood your scenario above, you’d do something like (off the top of my head):
<txp:adi_contact_combo names="codecheckbox" require="code" />
<txp:adi_contact_validate names="code,coderepeat" type="equal" />
Offline