|
htmlInputPassword
Password input control class | [Previous] [Main] [Next] |
| htmlInputPassword encapsulates the <INPUT TYPE="PASSWORD"></INPUT> tags. Password input fields are similar to regular text input fields, but the browser displays placeholder characters instead of the actual text entered. Note that user-entered characters are not encrypted -- they simply are not displayed.
| |
|
| |
| #include <dcmicro/htmlpp/password.h>
| |
|
| |
|
| |
| htmlForm
| |
|
| |
| None.
| |
|
| |
| htmlInputPassword()
| |
| Constructs an empty object.
| |
|
| |
| htmlInputPassword( | const String& name,
| |
| const String& value,
| ||
| int display_length = 0,
| ||
| int max_length = 0 )
| ||
| Constructs an empty object.
| |
|
| |
| virtual ~htmlInputPassword()
| |
| Destroys the object.
| |
|
| |
| Name | htmlInputPassword& Name(const String& name )
| |
| Sets the control name to name, and returns a reference to the object.
| |
|
| |
| Name | String Name() const
| |
| Returns the control name as a string.
| |
|
| |
| Value | htmlInputPassword& Value(const String& value )
| |
| Sets the control value to value, and returns a reference to the object.
| |
|
| |
| Value | String Name() const
| |
| Returns the control value as a string.
| |
|
| |
| DisplayLength | htmlInputPassword& DisplayLength( int display_length )
| |
| Sets the maximum number of characters to be displayed to display_length, and returns a reference to the object.
| |
|
| |
| DisplayLength | int DisplayLength() const
| |
| Returns the number of characters to be displayed, or zero if not set.
| |
|
| |
| MaxLength | htmlInputPassword& MaxLength( int max_length )
| |
| Sets the maximum number of characters the control will accept to max_length, and returns a reference to the object.
| |
|
| |
| MaxLength | int MaxLength() const
| |
| Returns the maximum number of characters the control will accept, or zero if not set.
| |
|
| |
| Clone | htmlObject FAR * Clone() const
| |
| Returns a base-class pointer to a deep copy of the object.
| |
|
| |
|
| |
| See the example in Tutorial:Forms:Single Line Text Input
| |
|
| |
