Article Details
Id: | 20603 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 4.00.03 |
Opened: | 12/06/2023 |
Closed: | 17/08/2023 |
Released: | 27/09/2023 |
Job: | J031281 |
HTML Widget Controls; widget.UI.AddressDetails now supports showInstructions option
The option showInstructions is now supported from the AddressDetails HTML Widget control.
C.adAddress = widget.UI.AddressDetails("adAddress", {
showInstructions: true,
});
When configured, a two-line Instructions field (with a maximum length of 255 characters) is displayed at the top of the addressing fields.
The following functions on the AddressDetails object will read / output the Instructions property:
C.adAddress.ToAddressDetailsJson();
C.adAddress.FromAddressDetailsJson(json);
The Instructions field can be dynamically displayed / hidden after the control has been initialised by using the following function on the AddressDetails object.
C.adAddress.ShowInstructions(true);
C.adAddress.ShowInstructions(false);