Hi everybody:
I need a code that helps me show some parts of my form when I check a checkbox 
and hide them when I uncheck it.(if it is a radio box or select/menu it would 
be acceptable too) I mean if the user says that he has that information then 
he/she checks the checkbox and then that part of form appear and then he/she 
must fill the form special fields that appeared. I found some javascripts that 
do it very well with show/hide a div that contains that part of form but the 
problem is:
When the user checks the check box and the special parts of form appear  then 
theses fields should become required to be filled. I did it with <cfinput 
required="yes"> code but then even if the parts are hidden(the show/hide 
chechbox is unchecked) it asks for filling them. I need the required part 
becomes active if the checkbox is checked and the user sees that parts of form.
Thanks
Benign

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253340
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to