Hi ,
Can any1 please provide me any solution, how to show validation on click of submit button, I have infopath form, where user can add row to repeatable table, I have to do some validation programatically on click of button , I did validation and adding validation errors to error collection.
" this.Errors.Add(root, "Validation Error", "Cannnot Submit form due to abscence of role with name " + ownerList[i]); "
It works fine, but it works only on client enabled infopath . But it does not work in browser enabled form. Can anyone tell me how to how show this validation error in browser based form.
Some one has mention XDocument.ui.alert(), but i dont see any XDocument in Infopath form 2007 code behind. Im using C# has programmic logic. Please let me know solution ASAP
-Mahender