PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Please help me add a clear form and prices button

  1. lukewatson81
    Member

    Hi on my form here
    http://ccs.nsw.edu.au/fee-calculator/

    All my caluclations are working.
    I have a calculate button which is great and then a CLEAR FORM <input type="reset" value="Clear Form" />

    However it doesn't clear the prices that came about...I just was the form to reset completely.

    PLEASE CAN YOU HELP ME?

    Posted 6 years ago on Wednesday March 20, 2013 | Permalink
  2. I see that you have changed your reset button to reload the form, which will have the same effect.

    <INPUT TYPE="reset" onClick="location.href='http://ccs.nsw.edu.au/fee-calculator/'">

    I could not test what was happening before, but because the totals are calculated, I don't think you can use a simple reset button like that. I think you could use this code: http://www.gravityhelp.com/forums/topic/gravity-forms-pricing-fields-option-drop-down-required-bug#post-178245

    Or possibly would have to reset every form field individually: http://www.javascript-coder.com/javascript-form/javascript-reset-form.phtml

    Posted 6 years ago on Saturday March 23, 2013 | Permalink
  3. Dormie
    Member

    Hi, This information is helpful. But, I'm confused on exactly where/how to add this code.... Thanks for any help!!

    Posted 6 years ago on Friday March 29, 2013 | Permalink
  4. Which code did you want to try specifically? I will help you with the proper location if you show me which solution you want to try.

    Posted 6 years ago on Monday April 1, 2013 | Permalink
  5. Dormie
    Member

    Hi, Sorry for the delay.

    I was wanting to implement a reset button into my form. I've looked around a bit but I'm just not positive where to insert the code above <input type="reset" value="Clear Form" />. I thought that this code was what I was looking for.

    Thank you.

    Posted 6 years ago on Tuesday April 9, 2013 | Permalink