• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. Forms >  Creating Password Boxes

Creating Password Boxes

The only difference between a password box and a text box is that whatever is typed in the former is hidden by bullets or asterisks. The information is not encrypted when sent to the server.

To create password boxes:

1.
If desired, type the label that will identify the password box to your visitor (for example, Enter password:).

2.
Type < INPUT TYPE="password".

3.
TypeNAME="name", where name is the text that will identify the input data to the server (and your script).

4.
If desired, define the size of the box on your form by typingSIZE=n, replacing n with the desired width of the box, measured in characters.

5.
If desired, typeMAXLENGTH=n, where n is the maximum number of characters that can be entered in the box.

6.
Finish the text box by typing a final >.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint