Tell us what you are trying to do?
Debug CRED form validation. Problematic fields are not being highlighted.
Post Form includes this shortcode already: [cred_field field='form_messages' class='alert alert-warning']
Is there any documentation that you are following?
N/A
Is there a similar example that we can see?
N/A
What is the link to your site?
Post form: hidden link
Hello,
How do you setup the validation error message "Fields with an asterisk are required" in your screenshot?
https://toolset.com/wp-content/uploads/2019/10/1361631-IMG_20191015_030224.jpg
Are you using filter hook "cred_form_validate" to setup custom codes for those validation error message? please provide detail steps to duplicate same problem, thanks.
I have tried it in my localhost, with a fresh WordPress installation + the latest version of Toolset plugins, using below steps:
1) Create a custom required field "test-s4", see screenshot required-field.JPG
2) Create a post form for creating post, with above field "test-s4"
3) Test above post form in front-end, submit the form, I can see the error message just above field "test-s4", see screenshot required-field-2.JPG
Are we talking about the message "This field is required" just above field "test-s4"?
Hi Luo,
I'm using the validation under Post Field Group.
I'm attaching a screenshot.
Thanks.
Are we talking about the message "This field is required" just above field "test-s4"?
>>>>> Correct! I'm talking about these error messages.
Thanks for the details, how and where do you want to highlight the problematic fields?
By default, Toolset Forms plugin will show an error message just above the the problematic field, see screenshot I provided above:
https://toolset.com/wp-content/uploads/2019/10/1361781-required_field_2.jpg
My issue is resolved now. Thank you!