How to reduce the width of validation error message?

  • Profile Image
    ImmobiliareUSA
    Asked on June 09, 2017 at 05: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

  • Profile Image
    ashwin_d
    Answered on June 09, 2017 at 05: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!

  • Profile Image
    ImmobiliareUSA
    Answered on June 09, 2017 at 05:40 AM

    Perfect! Thank you!!