I have an infopath 2010 web enabled form. I created a data connection that submits data to a sharepoint library.
then in the Submit Options, i chose, "Perform custom action using Code" and edited the code.
In the code, i am calling a method to check if the value entered in the form is valid (custom validation)
I submit the form in CA.
when Im going to test it and i clicked the "Submit" button, the form doest close and the code doesnt work.