Problem:
How to change the password fields of a user registration form so that the passwords are visible.
Solution:
You can use some custom JS to convert the inputs from type password to type text.
The following snippet of JS works on the initial page load, and also for forms submitted via ajax if it is reloaded with any validation errors, for example:
(function ($) { $(document).ready(function () { $('input[type="password"]').attr("type", "text"); }); $(document).on('js_event_cred_ajax_form_response_completed', function(event){ $('input[type="password"]').attr("type", "text"); }); })(jQuery);
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 8 replies, has 2 voices.
Last updated by 5 years, 6 months ago.
Assisted by: Nigel.