The Intrinsic Password Control

The intrinsic Password control is similar to a Text control, but when the user enters data into a Password control, only asterisks appear. This control is useful for preventing others from seeing the data on the screen, but be aware that the ASCII text is sent directly over the network without encryption.

Attributes

NAME A string representing the name of the Password control
VALUE A string representing the default value of the control
SIZE An integer representing the length of the control in characters
MAXLENGTH An integer representing the maximum number of characters allowed in the control

Events

OnFocus Fires when the control receives the focus
OnBlur Fires when the control loses the focus

Syntax

<INPUT TYPE="PASSWORD" [NAME="string"] [VALUE="string"]

[SIZE="integer"] [MAXLENGTH="integer"] [OnFocus="subroutine"]

[OnBlur="subroutine"] >

Example

<FORM>
<INPUT TYPE="PASSWORD" NAME="txtOne" VALUE="changeme" SIZE="10" 
MAXLENGTH="8">
</FORM> 

© 1996 by Scot Hillier. All rights reserved.