Hidden value

liunx

Guest
Is there any way to make the value of an input field in a form hidden from the user?<!--content--><input type="hidden" value="whatever"><!--content-->Thanks for the quick reply...but I don't want to make the whole field hidden. I just want to make the value hidden.<br />
<br />
Example:<br />
<input type="text" name="input" value="My name is "><br />
("My name is " is hidden from the user.)<!--content-->not in a form you can't.<br />
<br />
if you had this<br />
<br />
<input type="text" name="input" value="My name is "><br />
it will show the value.<br />
<br />
if you had this<br />
<br />
<input type="hidden" name="input" value="My name is "><br />
<br />
it will not show the value an dalso will not be on the page. but in the source. as long as you had this<br />
<br />
<input type="text"<br />
<br />
you are stuck with it being shown.<!--content-->I guerss you can make it astrics all the way across like a passowrd field. that is the best you got.<!--content-->Just how do you do that "asterisks in place of each letter" thing?<!--content-->if you had teh username adn it isn't something they typed in, well I guess it could be, but it is just like this<br />
<br />
<input type="password" value"whatever"><br />
<br />
and that will make whatever look just like ********<!--content-->
 
Back
Top