I have a CF form that checks whether a user selects at least one check box in the form 
after entering their contact information. If they do not select a checkbox it goes 
back and informs them to check at least on box. I use the cflocation tag to go back to 
the form, but it also clears their contact information.

How do I keep their contact information so that they do not have to re-enter that 
portion? Do I include some hidden fields w/the data?

Thanks for any help.

Here is part of the code in the action page:
<cfset counter = 0>

<CFIF #FORM.ala# IS "ala"> <CFSET counter = counter +1>
</CFIF><CFIF #FORM.tla# IS "tla"> <CFSET counter = counter +1>
</CFIF><CFIF #FORM.acrl# IS "acrl"> <CFSET counter = counter +1>
</CFIF><CFIF #FORM.sla# IS "sla"> <CFSET counter = counter +1>
</CFIF>

<CFIF Counter EQ 0>
<CFSET session.error = "<strong>Please check at least one training session.</strong>">
<CFLocation url="register.cfm">
</CFIF>

Robert Orlini
HWW

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to