Posts

Showing posts from October, 2011

Infopath Code

Here are some important codes for InfoPath.  Get Parameters in InfoPath Form: if (e.InputParameters.ContainsKey( "SaveLocation" )) // Search for Query string (parameter) if found then set this parameter to a field.                     SetFormFieldValue ( "/my:ChangeOrder/my:SectionHide/my:ListURL" , e.InputParameters[ "SaveLocation" ].Substring(0, e.InputParameters[ "SaveLocation" ].LastIndexOf( "/" ))); Get Value from a field: private string GetFormFieldValue( string fieldName)         {             string fieldValue = string .Empty;             try             {                 XPathNavigator myNav = MainD...

Download Infopath Form Templates

Click here to download InfoPath Form Collection   Hi, I have lots of InfoPath forms with me which are downloaded from lots of places. I am uploading this InfoPath form collection for all InfoPath and SharePoint Users. These form are related to Infopath 2003, 2007 & 2010.   Click here to download InfoPath Form Collection