How to change the position of error message for a field?

  • Profile Image
    aeclis
    Asked on July 19, 2017 at 01:22 PM
    2. In my form "ACHAT & VENTE", i have a required dropdown list "Vous souhaitez ?", i'd like to know how to display the error message at the bottom of the list and not on the list itself (take a look at the screenshot).
  • Profile Image
    Kiran
    Answered on July 19, 2017 at 01:58 PM

    Please inject the following CSS code to the form so that the error messages will be displayed below the dropdown.

    [data-type="control_dropdown"] div.form-error-message {

    margin-top: 24px !important;

    }

    It should be displaying the error message for all drop-down menus on the form as shown below:

    Hope this information helps!