[Resolved] Need to add custom validation to toolset password reset form
This support ticket is created 3 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I have created a password reset page for my WP website using toolset [wpv-reset-password] form. I have checked that it's validation is not working properly. I need to add my custom validation to this form like min. password length, allowed special characters etc.
Please help me to achieve this functionality.
However, in order to be able to use this hook with the wpv-forgot-password-form, you must not use the reset_password_url to fallback to the default WordPress reset password page that uses the hook.
Instead of:
Thanks for the reply but unfortunately I don't want to use the default WP reset password form. I want to use my own page and toolset form which I am using now. If you gave us facility to use toolset reset password form, why can't we extend its functionality with hooks as you suggested?
Hi,
Sorry I am not able to access that link because link is keep blocking by our internal IT team, might be due to some security reasons. Is there another link or another way?
I am still not able to access this url too. It is showing access denied when I am trying to access from my office laptop. I have already informed this issue to my network security team and they need a day to fix this access issue. If tomorrow I will access the link, I will update you.
Ok. Thank you for your feedback. I'll set this ticket as waiting for your feedback. Let me know if you are still unable to access that sandbox site(on AWS), and I can ask our systems team for another instance on a different platform.
Hi,
I have created the page and added the reset password form shortcode in above sandbox link but form is not showing. I don't know what's wrong with that.
Unfortunately, there is no way, currently, to validate the password from the [wpv-reset-password-form]. We have a feature request for it. I added your voice to it so it can be prioritized.
I have tried to do it with jQuery but didn't succeeded. Could you please check if we can achieve this through jQuery.
Like jQuery should check the min length and allowed characters of password before form submission.