Bug found with password field’s “Enable Password Visibility Toggle”
-
Hey,
This plugin is fantastic and incredibly helpful. Thanks for solving a lot of problems!
One (minor) issue I have found is due to the new IDs that this plugins sets to inputs, the “Enable Password Visibility Toggle” option on “Password” fields no longer work. This is due to the toggle buttons looking for the old IDs.
In my case, a quick jQuery fix:
if ( $( '.gform_show_password', oComp ).length > 0 ) { $( '.gform_show_password', oComp ).each( function() { var sNewId = $( this ).prev( 'input[type="password"]' ).attr( 'id' ); $( this ).attr( 'onclick', 'javascript:gformToggleShowPassword("' + sNewId + '");' ); } ); }
Thank you!
- The topic ‘Bug found with password field’s “Enable Password Visibility Toggle”’ is closed to new replies.