We have developed required field custom validation logic, that will loop over list of required fields, one at a time, check if field is empty or null, then it will highlight the field, and raise validation error, one error for all fields that are not filled.
The problem is that the field is marked as required, and the parent subform or object is hidden, due to a bug for example.
How we can get around this issue?
One way it to display the list of empty fields in a subform along with the Required Field Validation Error.
But, how we can jump to the field (using setFocus) if the parent object is hidden?
Is there way to find out if the parent, or any ancestor is hidden, then force to make it visible?
Anyone knows if this issue has been addressed before?
Thanks,
Tarek