Hi All,I am using FormAPI to validate a specific field in Template.After alert i want to that field should be highlighed in red. how can we do this?Thanks for your help.
_iwdcwin.displayErrorMessage("YourErrorMessage");Note that it's a hack, neither documented nor supported.Alternatively you may try to format Error Message as html fragment with or without using FormsPublisher CSS.Something like the following may be a start in that direction:IWDatacapture.displayMessage("<span class='iw-formspub-error-field'>YourErrorMessage</span>");RegardsMav
Try IWDatacapture.setHighlightMode(true).set this if invalid.hope this would help you.