I have a custom field that displays content that I want to toggle readability like a password field. So when the field loads it shows ********** and you click a button or link and the ***** disappears and the content will appear. How can I do this?
I am displaying this field as a read only field in a CRED form.
I added this to the cred form and it doesn't work:
API Key
[cred_field field="hidden" type="password" id="myInput" class="form-control" output="bootstrap"]
<!-- An element to toggle between password visibility -->
<input type="checkbox" onclick="myFunction()">Show Key
I think this is not the correct way. Can you please tell me for which field you want to apply the toggle password functionality?
Please share problem URL and access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.