hi all,
is there a way to tell which form is currently open? or if a form is currently open?
Situation:
1) The user opens a form with some text fields.
2) places the form into an editable status
3) changes some value that does not conform with ondatachange event
4) while that field is still in focus, the user clicks save
5) ondatachange event opens a dialog stating that this value is not valid.
6) ondatachange event sets that value to null
7) application continues to save record after we clear that field.
Is there any way to stop the save method from continuing? I was thinking I could utilize some method that would tell what form was open.
currentcontroller.getFormContext()[0][1] works only the first time. After the user closes that dialog it comes back with the original form name