Hello everyone !
I have built some code managed (in c#) InfoPath forms, which have some mandatory fields. I have this question :
- Is there a way to know if all mandatory fields have been filled by the user from the OnSaveRequest event ?
I need to code that in my project. I know I can parse the xml data using XPath. But my forms might change in the future, and I want to avoid hardcoding. Since InfoPath shows up a warning message when the user saves the form even if he did not filled all the mandatory fields, I guess this can be also done by code. But I can't find how.
Thanks in advance,
Yann.