Very old question but seems not yet solved.
Validating a field thru lookup or ajax ( onChange ) seems ok and sc_error_message for notify the user that the input is not correct is working well BUT…
It would be nice to have the possibility to bring the focus back to the field that contains an invalid value instead of going to the next field as it happens in SC.
The macro sc_set_focus (‘field’) does not work and any attempt to bring the focus back to the field using JavaScript gives no results.
Has anyone found an applicable solution?
Thanks