How to highlight the form Error messages?

  • HussainAlbarakaty
    Asked on October 7, 2018 at 3:29 PM

    When there is an error,for example invalid email, error message display at the end of the form prevent submission. Is there away to make the the form highlight the field of the error or ideal make instantaneous validation for the fields?

  • David JotForm Support Manager
    Replied on October 7, 2018 at 5:03 PM

    I believe that you are referring to this form: https://www.jotform.me/form/81755902210451 

    You can highlight the required fields and email validation with this code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    .form-line-error {

      background: red !Important;

      display: block !Important;

    }

    Let us know if you need more help.