var invalidViews = bpmext.ui.getInvalidViews(); — I have written this code in onClick event of button.
the above code also not showing proper data in console. is this valid behaviour ?
I would like to validate controls with setInvalid() then get the control/label names are which are invalid using bpmext.ui.getInvalidViews(); . So that i can show validation errors to the user with these invalid control/labels.