Id: | 19739 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 4.00.00 |
Opened: | 07/10/2022 |
Closed: | 01/11/2022 |
Released: | 21/12/2022 |
Job: | J029805 |
HTML Widgets; ExpiryDate Control added to Widget Controls
A new "ExpiryDate" HTML Widget control has been added. This control allows entry of an expiry date, where the format may be a full date (i.e., DD/MM/YYYY) or only a month and year (a Credit Card, for example). This new control can be setup in either configuration to simplify the code in HTML Widgets.
The control has a start-up option, "allowDay" which when true will display a regular Date Box. When this option is false two Combo Boxes are displayed where a Month and Year can be entered. Min and Max values are supported, just like a regular Date Box.
When retrieving the Value using the Value() function, if "allowDay" is true the full date will be returned. If it is false, then the last day of the selected month will be returned. E.g., If "May 2022" is entered, retrieving the value from the Value() function will result in 31/05/2022 being returned.
Note: Entering the numeric representation of a month will automatically resolve to the correct month. E.g., entering "5" into the month field will resolve to "May".
The HTML Widget help has been updated to document this new control.