I needed some advanced validation for my CRED form so I used the cred_form_validate hook to achieve it. However, the validation seems to be different for each of those cases. The default validation will work before the form is submitted (it displays an error tooltip above the field, i.e. This field is required).
However, when I use the cred_form_validate hook, the page refreshes and then only after that it will display the error message. Also, this error message does not look like the above tooltip. It displays a red border around my field and adds the error text above it. This breaks the user experience.
Why two different-looking types of error messages? Why not make cred_form_validate use the default validation and validate without a page refresh and display that tooltip?
Dear Hassan,
thanks for the feedback. This is not presently possible with CRED but we are going to make some major changes in this plugin and we will consider your request.
Regards,
Ana
Hi guys + one for this feature... the actual workflow of validation is really displeasing, as Hassan already pointed out!
So please take in serious consideration a way to enhance this!
Thank you very muh
Best regards
Carlo