Hi,
Pertains to the Item Details form - General Tab - Default Configuration field.
I want to throw an error when the Default Configuration field value is not populated correctly.
I tried to used ValidateWrite on the Form/Field level - but still it only "hits" the breakpoint when the lookup is called - which makes sense.
And when I used CanClose() method at the form level - it works fine to an extent - it throws the error when I try to save the form as expected - which is good. But the problem is that it clears all the other auto-populated fields when I close the error(info) - which confuses the users - as why would an error on a particular field clears up all other fields? Funny thing is that the other field values come back when the Item Details form is opened again. But still not a user - friendly option.
What can I do to throw an error when the field is populated incorrectly (and the user tries to save the form) - without clearing/messing up other fields?
Please help.
*This post is locked for comments
I have the same question (0)