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

    Required fields

    Asked by brellin on June 27, 2014 at 09:28 AM


    I need to know if it's possible to show the message 'Required field' only when the form is submitted and not while it was filling.


    Gaetano Amenta

  • Profile Image
    JotForm Support

    Answered by ashwin_d on June 27, 2014 at 09:48 AM

    Hello Gaetano,

    Unfortunately, it is not possible to only show the validation error on click of submit button. These are javascript validation and it will trigger as soon as you move out of a form field.

    What you can do is just add custom css code in your form hide the validation error message. This will not display any error message but only highlight the field. Once you click on the submit button, it will only display an error message below the submit button. Please inject the following custom css code to hide the error message:

    .form-line-error {background: transparent;}

    .form-error-message {display: none;}

    The following guide should help you inject the custom css code:  http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Take a look at the following demo form:  http://form.jotformpro.com/form/41773717843968? Feel free to clone this form for a closer look. The following guide should help you in form cloning:  http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!