How to keep the textbox input when error pops up?

  • Profile Image
    LSmith1122
    Asked on April 13, 2017 at 03:50 PM

    In my form, whenever someone makes an error, all of the input previously entered is removed. How do I keep the input intact so the user does not have to restart the whole form? 

     

    On the JotForm form link, it only shows a small line with an error and keeps the input intact - which is what I want. However, on my website, I have embedded the Source Code and when I create an error, all of the information entered into the textboxes is deleted. 

     

    How do I correct this?

  • Profile Image
    david
    Answered on April 13, 2017 at 05:42 PM

    Try replacing your current embed code with your forms iframe code:

    https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    It looks like there may be an issue with the form validation caused by conflict with your page.  Using the iFrame code will insulate your form from the rest of the page and should allow for it to function the same as it does when not embedded to your page.