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 8:08PM
    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 8:08PM
    And where goes the message text?
  • edited 8:08PM
    Is the form being rendered in the front end, like for a contact form, or back end (CMS)?
  • edited 8:08PM
    It's in the front end.
  • edited 8:08PM
    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.