Hi
I've got a form text input which is required: let's say 'Provide Zip Code'.
However, business logic says that if users choose an option that says 'No Zip Code available', then 'Provide Zip Code' should no longer appear.
No problem: easy to use JavaScript to make 'Provide Zip Code' appear/disappear based on the 'No Zip Code available' option: but I'd also like to hook into the Squiz 'required' system, so that any error generated is 'in sync' with other possible error messages.
Can anyone think of a way i might achieve this?
And quick supplementary: does Squiz have no default visual signposting of a 'required' widget on a custom form?
thanks
mark
Custom Form: Using JS to change 'required' status
mark_l_sanders
(M L Sanders)
#1
robin_shi
(Robin Shi)
#2
Hi Mark,
Custom form doesn't support conditional questions. I would do the following work-around.
[list=1]

Robin