Tips for Creat Showing / Hide Password Buttons


The Code :

$w.onReady( function () {
$w(“#showPassword”).show()
})

export function showPassword_click(event) {
$w(“#password”).inputType = “text”;
$w(“#hidePassword”).show()
$w(“#showPassword”).hide()
}

export function hidePassword_click(event) {
$w(“#password”).inputType = “password”;
$w(“#hidePassword”).hide()
$w(“#showPassword”).show()
}

1 Like

does this work on wix forms? Thx in advance

Have you tried it?

If you are going to use code though, you might as well just make up the whole thing yourself.

Old post being closed, please add a new post if you still need help.