Hi,
JET version: 3.1
We are using the invalidComponentTracker for helping in validation of our UI controls. I see that JET creates a tracker object while creating the component and assigns it to a knockout observable variable. Then this could be used to 'showMessages' and there by validate the component.
My use case is that, i need to validate only certain fields in a form, on clicking a button. Suppose there are 10 fields, i need to validate only 2 of them. Tracker.showMessages is validating all the 10 fields.
I tried iterating all the fields, get the WidgetConstructor of each field and call 'validate' method, but i can have fields that do not have validate method(like ojStatusMeterGauge).
What could be the best way to achieve this functionality?
Thanks!