Tuesday, 4 September 2012

Submit InfoPath 2010 Form without validation using code

Following code is using infopath 2010 code behind.

if (this.Errors.Count > 0)
DataConnection dcSave = this.DataConnections["SaveAsTemplate"];
this.Errors.DeleteAll(); 
dcSave.Execute();

No comments:

Post a Comment