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
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/
Hope this helps!
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.
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?
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.