How to reduce the width of validation error message?

  • ImmobiliareUSA
    Asked on June 9, 2017 at 5:11 AM

    Perfect! Now how can I adjust the light-pink rectangle (please see the green arrows) not to allow it to go out of the form border?

    Thank you!!!!

    Davide

    How to reduce the width of validation error message? Image 1 Screenshot 20

  • Ashwin JotForm Support
    Replied on June 9, 2017 at 5:16 AM

    Hello Davide,

    Please inject the following custom css code in your form to reduce the width of the error message background:

    .form-line-error {

        overflow: hidden;

        width: 49% !important;

    }

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

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • ImmobiliareUSA
    Replied on June 9, 2017 at 5:40 AM

    Perfect! Thank you!!