What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How could I clear these values after someone submits the form.

    Asked by slfattorneys on June 26, 2015 at 03:01 PM
    1. So, how could I clear these values after someone submits the form.
  • Profile Image
    JotForm Support

    Answered by EltonCris on June 26, 2015 at 04:22 PM

    You can clear it when you implement form clear function. You can try the following code. Add it after function validateForm(url,w,h){ on the code provided by my colleague on the main thread.

    $("51749051922961").reset();

    Example:

    <script type='text/javascript'>

          //this is where the popup is triggerred

          function validateForm(url,w,h){

          $("51749051922961").reset();

            var left = (screen.width/2)-(w/2);

            var top = (screen.height/4)-(h/4);

            newwindow=  window.open (url, 'title', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);

            if (window.focus) {newwindow.focus()}

            return false;

          }

    </script>

  • Profile Image

    Answered by slfattorneys on June 26, 2015 at 06:04 PM

    Excellent!! Thank youElton & Sammy.

    This portion of my issues are now resolved.

     

    Many thanks,

    Chet

  • Profile Image
    JotForm Support

    Answered by Chriistian on June 26, 2015 at 08:15 PM

    Hi Chet, 

    On behalf of my colleagues, you are welcome. Glad to hear that the issue was solved. 

     

    Do let us know if you need further assistance.

     

    Regards.