J
jrainha
I am using the standard “Approval†workflow in WSS 3.0 to get forms approved,
using Infopath 2007 (browser enabled with Forms Server).
The implementation of the Infopath form has several kinds of validation
rules, including server side validation. All of these rules apply correctly
when the user is filling the form online.
Nevertheless, the user can save and close the form, despite of some errors
or empty mandatory fields and finish the workflow (i.e save the form, start
and approve the workflow). The form should only be approved if the data is
well validated.
One possible solution should be preventing the user (or at least warning
him) when saving the form, when it contains invalid data.
I am not being able to customize the form Save event (it seems that is not
possible in browser enable forms -
http://msdn2.microsoft.com/en-us/library/aa947848(VS.80).aspx) for preventing
or at least warning the user that the form if not fully or correctly filled.
I can submit the data for a sharepoint list with the validation rules, but
in that case, I will loose the Program Instructions associated with the form,
not being able to open it again.
All the search that I did on msdn or google didn’t helped me, since that the
examples found are normally related to infopath client and not browser
enabled forms, more restrictive in the usage and customization of some event
handlers.
Any ideas are welcome.
Thanks!
using Infopath 2007 (browser enabled with Forms Server).
The implementation of the Infopath form has several kinds of validation
rules, including server side validation. All of these rules apply correctly
when the user is filling the form online.
Nevertheless, the user can save and close the form, despite of some errors
or empty mandatory fields and finish the workflow (i.e save the form, start
and approve the workflow). The form should only be approved if the data is
well validated.
One possible solution should be preventing the user (or at least warning
him) when saving the form, when it contains invalid data.
I am not being able to customize the form Save event (it seems that is not
possible in browser enable forms -
http://msdn2.microsoft.com/en-us/library/aa947848(VS.80).aspx) for preventing
or at least warning the user that the form if not fully or correctly filled.
I can submit the data for a sharepoint list with the validation rules, but
in that case, I will loose the Program Instructions associated with the form,
not being able to open it again.
All the search that I did on msdn or google didn’t helped me, since that the
examples found are normally related to infopath client and not browser
enabled forms, more restrictive in the usage and customization of some event
handlers.
Any ideas are welcome.
Thanks!