HTML input, show or hide input |
HTML input, show or hide input |
bgman |
Nov 13 2018, 05:00 PM
Post
#1
|
Group: Members Posts: 1 Joined: 13-November 18 Member No.: 26,746 |
I have a form used to collect info from a web site user in this manner:
<label>What is your mother's maiden name? <input id = "txtMaiden" name = "txtMaiden" type = "text" value = "" size="25" maxlength = "25" /></label><br /> I would like to have the text be visible, just as typed by the user, when the user is in that field. But when the user selects the next field on my form, I would like the field to show only asterisks or spaces as if it were a password. The text should only be visible when it is being entered or modified. Is this possible? Thanks in advance for any insight or suggestions!! Bob. |
Lo-Fi Version | Time is now: 25th April 2024 - 04:25 AM |