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