If the reload is the results of a form submit, you have the values of
the all the form fields in the form scope.  you can test to see if the
checkbox value is set using if isdefined(form.checkall) then set the
value of the field.

On Tue, Jul 14, 2009 at 5:13 PM, Barry Mcconaghey<[email protected]> wrote:
>
> 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:4624
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to