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

    Clear Form fails to clear requirement for fields when form embedded with iFrame

    Asked by bdoodle on April 09, 2015 at 10:12 AM

    If I submit a form before filling it out completely, I get errors wherever there is an empty required field.  If I then hit Clear Form, the errors do not go away.  

    I have nine forms that are all very similar.  The four that I embedded with iFrame have this problem.  The five that I just embedded the reg script, do not have this problem. 

    An example of one having the problem is:

    http://www.jotform.com//?formID=50755411282148

     

     

    Page URL:
    http://www.madsails.com/Order_Lido14_sails.html

    form embedded JotForm required field problem style size
  • Profile Image

    Answered by bdoodle on April 09, 2015 at 11:09 AM

    This appears to happen only in Chrome.

  • Profile Image
    JotForm Support

    Answered by david on April 09, 2015 at 12:18 PM

    Hi,

    I checked your webpage in Chrome and using the "Clear Form" button did indeed clear all the data from the form.  The errors will remain until the field is filled.  The clear form button was not intended to also clear the errors, only the information contained in those fields.

    If you have any further questions, let us know and we will be happy to help.

  • Profile Image

    Answered by bdoodle on April 09, 2015 at 01:14 PM

    Seriously?  It clears the errors in Firefox, Safari, and IE.

  • Profile Image
    JotForm Support

    Answered by david on April 09, 2015 at 01:20 PM

    The errors themselves do remain in FireFox and IE, only the message is cleared:

    Chrome does still display the message, but the clear form button does not actually clear the errors from any browsers.

  • Profile Image

    Answered by bdoodle on April 09, 2015 at 02:01 PM

    It only leaves the error text when the form is embedded with iFrame and it's viewed via Chrome.   I really don't think that leaving the error text was done by design. 

    I have four forms with this problem. 

    The red frames around required fields are innocuous.  Multiple big error text messages, one under each button, plus extra pink margins, etc. around each required field, are not.   Where I have fields in absolute positions, this condition causes fields to be moved in strange looking ways.  When the user has made an error, these error indicators are good.  Where he is supposedly starting from scratch, they are not good!  

    Are you sure nothing can be done?

  • Profile Image
    JotForm Support

    Answered by david on April 09, 2015 at 03:27 PM

    I have forwarded this to our development team to have a look.  I am not sure exactly how they intended this to function so I will let them clarify.  We will update you here as soon as we have another further information.

  • Profile Image

    Answered by bdoodle on April 09, 2015 at 07:24 PM

    I have decided to change the embedding, for all nine of my sail order forms, from iFrame method to the reg script method.  This required eliminating the use of Jotform coupon codes which required the iFrame embed.  However, it should fix all my problems with Clear Form including the one described above.

    Therefore, you need not work on fixing the above issue on my account.

    Thank you.