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