10 Replies Latest reply: Jul 30, 2009 11:39 AM by Dan Bracuk RSS

    How to uncheck checkbox after form has been submitted

    GreenGoneMad Community Member

      Hi,

       

      I have a complex form which gets submitted to itself using post.  I have added a checkbox to this form.

       

       

       

                 

      If a user submitted a form without filling in all the required fields then the form displays a message but retains the values that user entered earlier for convenience. When a user sumitts the form sucessfully, I would like to uncheck the checkbox. Any ideas as how to do it.

       

      I tried <cfparam name="form.post_red" default=""> but it didn’t work.

       

      Any ideas?

       

      Thanks in advance.

       

      Joe Green