Article Details
Id:20992
Product:finPOWER Connect
Type:NEW
Version:4.01.00
Opened:08/12/2023
Closed:08/12/2023
Released:29/04/2024
Job: J032575

HTML Widgets; Additional browser console information written to assist debugging of certain issues

HTML Widgets provide methods of automatically validating controls, e.g., to check that mandatory controls have a value entered.

This is done via one of the following methods:

  • widget.UI.ValidateContainer
  • tab.Validate

For example:

// Validate
var Ok = tabWizard.Validate(true);

To make it easier to debug issues, e.g., hidden controls being included in validation (the Widget methods noted above determine whether a control is visible under quite strict rules which work with the system-supplied HTML Widgets but, depending on how custom HTML is structured), even if the developer thinks they should not be, a message is now written to the browsers console, e.g.:

widget.UI.ValidateContainer: Stopped at control 'cboOccupationPrevious'.