Reset Button

Home Forums Feature Requests Reset Button

This topic contains 3 replies, has 1 voice, and was last updated by  chaunceyhaworth 5 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6321

    I may have already seen this, but can’t find it.

    I would like a button that will reset an entire form to blank values.

    #6363

    No answer : (.
    Maybe I should explain better.

    I use the forms as steps through a process. At the end I would like to have a form that shows all the fields and a single button that will clear all the fields. Has anyone tried this?

    Thanks,

    #6386

    Would the following work for me?:

    <script>
    function myFunction() {
        document.getElementById("FORMID").reset();
    }
    </script>
    <input type="button" onclick="myFunction()" value="Reset form">

    http://www.w3schools.com/jsref/met_form_reset.asp

    If so. which file should I add it to?

    #6610

    This is starting to drive me bonkers. Anybody have a suggestion?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.