Event.Form.Inputs(FID).Password
Event.Form.Inputs(FID).Password allows the true/false value to be set in order to turn on/off the password mask for Textbox inputs. This method supports the ability to encrypt fields in the database for increased security.
Applies To
Properties and Methods
None
Available
The .Password property is available in:
- 16.07.066
- 17.00.028
- 17.01.009
- 17.02.001
- All newer builds
Note: The .Password property and all sub-classes, properties, and methods are only available in Form Layout scripts.
Type
Boolean
Syntax
Event.Form.Inputs(FID).Password;
Parameters
None
Example
Create a user form layout for the VendAdd form. Modify the properties of the Soc Sec Number input, setting the Password property to checked (true).
* Add two ToolbarCustomButtons, captioned On and Off. Add script to the click event of these buttons.
* For the On button, add: Event.Form.Inputs('Input_eVEND_ve_socsec').Password = true;
* For the Off button, add: Event.Form.Inputs('Input_eVEND_ve_socsec').Password = false;