Thanks Johnny! Sorry...but your page has the same issue. If a visitor types the wrong captcha text from the image, the page reloads but the previous check in the checkbox does not reload.
Barry > Hi, > I think that you will need to use sessions to remember from page to > page. > I have a page here using this: > http://76.12.170.145/NutritionATC/Contact/questions.cfm > > It sends a e-mail with the chosen results that the user enters. Let me > know if this is helpful,and I can share the code. > Johnny > > (o o) > ----ooO--(_)--Ooo---------------------------------------------- > John Barrett > Manager Hawaii Flash User Group > Flash Design & Development > http://www2.hawaii.edu/~johnbarr > . > oooO > ( ) Oooo. > \ ( ( ) > \_) ) / > (_/ > > > > > ----- Original Message ----- > From: Barry Mcconaghey <[email protected]> > Date: Tuesday, July 14, 2009 2:18 pm > Subject: Session Variables > To: cf-newbie <[email protected]> > > > > > Hello. > > > > I built a contact_us.cfm page with a captcha image. The problem > > I'm having is with a checkbox. In the event a person type the > > wrong captcha image, the page reloads. How do I get CF to > > remember a previous page checkbox after the page reloads? > > > > Example: > > > > <cfinput type="checkbox" name="checkall"> > > > > I would like to use a session variable with checked="yes" > > > > Regards. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4620 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
