Is it possible to change the "Please fill out this field" form message?

edited June 2014 in Share
I have generated a form using the form_builder class. If a filed is required and I click the submit button, it will show this message on that filed: "Please fill out this field". I need to change the message. How can I do this?

Comments

  • edited 5:24PM
    This can actually be handled with CSS. Try adding the following CSS:
    form input::-webkit-validation-bubble-message,
    form select::-webkit-validation-bubble-message,
    form textarea::-webkit-validation-bubble-message {
    display:none;
    }
  • edited 5:24PM
    And where goes the message text?
  • edited 5:24PM
    Is the form being rendered in the front end, like for a contact form, or back end (CMS)?
  • edited 5:24PM
    It's in the front end.
  • edited 5:24PM
    Add this to your main css file for the page (e.g. assets/css/main.css). Usually it's included in the header using the "css" function.
Sign In or Register to comment.