Title: Change Validation Error Message
Last modified: June 23, 2018

---

# Change Validation Error Message

 *  Resolved [amsgator](https://wordpress.org/support/users/amsgator/)
 * (@amsgator)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/change-validation-error-message/)
 * How can I go about changing the validation error message (this value is required)
   when a user leaves a required field blank? I’d like something a little nicer,
   like “please complete this field” or something similar.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [christiechirinos](https://wordpress.org/support/users/christiechirinos/)
 * (@christiechirinos)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/change-validation-error-message/#post-10444602)
 * Hi amsgator,
 * At the moment, this cannot be done from the Caldera Forms UI. If you are comfortable
   with custom code, you can customize your front-end validation to give the user
   custom messages by using this code snippet: [https://gist.github.com/Shelob9/869d0ebb94b017ca690ed70c5aa7431a](https://gist.github.com/Shelob9/869d0ebb94b017ca690ed70c5aa7431a)
 * We have a guide on where to put custom Caldera Forms code here: [https://calderaforms.com/2016/11/best-evaluate-use-custom-code-wordpress-code/](https://calderaforms.com/2016/11/best-evaluate-use-custom-code-wordpress-code/)
 * Hope this helps!
 *  Thread Starter [amsgator](https://wordpress.org/support/users/amsgator/)
 * (@amsgator)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/change-validation-error-message/#post-10444952)
 * Thanks for the reply. That snippet will only change one form field, specified
   by the field ID. How do I change it for ALL form field at once?
 * Thanks.
 *  Thread Starter [amsgator](https://wordpress.org/support/users/amsgator/)
 * (@amsgator)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/change-validation-error-message/#post-10445934)
 * I was able to change it on most fields with:
 *  add_filter( ‘caldera_forms_field_attributes’, function($attrs){
    $attrs[ ‘data-
   parsley-error-message’ ] = ‘This Field Is Required’;
 *  return $attrs;
    }, 10);
 * but it appears the checkbox field does not utilize data-parsley-error-message
 * Any ideas?
 *  Plugin Contributor [christiechirinos](https://wordpress.org/support/users/christiechirinos/)
 * (@christiechirinos)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/change-validation-error-message/#post-10467162)
 * You could target the checkbox field on its own by following our developer documentation,
   or you could submit a bug request to have data-parsley-error-message used by 
   the checkbox field on our GitHub: [https://github.com/CalderaWP/Caldera-Forms/issues](https://github.com/CalderaWP/Caldera-Forms/issues).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Change Validation Error Message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [christiechirinos](https://wordpress.org/support/users/christiechirinos/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/change-validation-error-message/#post-10467162)
 * Status: resolved