Validate Button
Defines an action that validates the screen.
Properties
| Property | Description |
| Caption | String providing a caption for the component. |
| Enabled | Boolean indicating whether or not the component is enabled. |
| Hint | Specifies the user hint string that will appear in the component's interactive help bubble. |
| Icon | String indicating the image to use for an icon (Qubes 5.4). |
| IconSize | Dimensions of your icon, can be written as one or two values, syntax detailed there (Qubes 9.0). |
| TabIndex | Integer indicating the component's tab order (Qubes 5.6). |
| Visible | Boolean indicating whether or not the component will be visible. |
| Theme | String defining the appearance of the button, uses button styles (Qubes 9.0). |
| CaptchaEnabled | Boolean defining if a captcha modal pops up on validation (Qubes 9.0). |
| CaptchaText | String defining the text of the captcha model when it is enabled (Qubes 9.0). |
Value
Has a value of False before the button is clicked, then changes to True, once it has been clicked (triggering the screen to exit).
Remarks
When you click on this button, the following will happen:
- synchronous evaluation of the validation formulas;
- if any of the validations fail, the corresponding validation error message(s) will be displayed, and the validation action will be cancelled;
- synchronous evaluation of the exit formulas;
- closure of the screen.
To close a screen without validation, use the cancel button.
Note: Button captions are always single-line (so any line breaks are replaced by spaces).
More information on the evaluation of validation and exit formulas