2008 Archive

2008 blog posts on the InfoPath Solutions Blog

The Office Open XML file cannot be opened because there are problems with the contents.

Learn what steps to take to avoid getting a Word 2007 error that tells you that the file is corrupt when you have manually modified the DOCX file by unzipping it.

Submit repeating table rows from InfoPath to a SharePoint list using the SharePoint Object Model

Learn how you can combine two InfoPath solutions to be able to submit rows of a repeating table in an InfoPath form to a SharePoint list using the SharePoint Object Model (OM).

InfoPath form uploaded to SharePoint seems to remain stuck in the 'Installing' or 'Upgrading' status

Learn how you can use the stsadm command line utility to run the administrative timer jobs for InfoPath forms that get stuck during an administrator-approved deployment.

5 Ways to submit an InfoPath form to a SharePoint list

Learn which workarounds are available if you want to submit an InfoPath form to a SharePoint list.

"Microsoft.SharePoint.SPException: The security validation for this page is invalid." error in InfoPath browser forms

Learn how you can use the SPWeb.AllowUnsafeUpdates property to prevent the 'The security validation for this page is invalid.' error from taking place when you run code that calls directly into the SharePoint object model from within an InfoPath browser form.

InfoPath Q&A: How can I use InfoPath forms without having InfoPath installed on users' PCs?

Learn which software products are required if you want to use InfoPath 2007 forms, but not install the InfoPath client application on the PCs of users who must fill out forms.

How to enable InfoPath Forms Services in WSS v3

Learn which components you need to install before you can enable InfoPath Forms Services to work in WSS version 3.0 and display InfoPath forms in a web browser through SharePoint.

How to create a hidden field in InfoPath

Learn how to add a field to an InfoPath form template so that it exists in the InfoPath form but remains invisible to a user, so effectively becomes a hidden field.

Quick Tip: How to create a dynamic label in InfoPath

Learn how to use a text box or an expression box control together with rules and filters to create a dynamic label in InfoPath.

InfoPath to DOCX – An alternative to using XSLT for conversion

There are several ways to convert InfoPath forms to Word documents. This post lists the options available for InfoPath to DOCX conversion.

Extracting day, month, and year numbers from dates in InfoPath

Learn how to use the substring() and number() functions in InfoPath to extract the day, month, and year numbers from an InfoPath date string.

InfoPath Q&A: Does InfoPath support cascading drop-down list boxes in a repeating table?

Learn which options are available to you if you want to filter lists on an InfoPath form to create cascading drop-down lists.

How to retrieve field values in InfoPath

A compilation of links to articles and video tutorials on how to programmatically set the value of a field on an InfoPath form.

How to copy data from a secondary data source (SharePoint list) to a repeating table in the Main data source of an InfoPath form

Learn how you can use code that either loops through a repeating node or uses an XSL transformation to copy data from a secondary data source to a repeating table in the Main data source of an InfoPath form.

How to move items between two list boxes in InfoPath using C# code

InfoPath Q&A: How do I copy contents from one Rich Text field to another?

InfoPath Q&A: Can MySQL data be accessed from InfoPath?

Learn how you can use web services to retrieve and submit data from an InfoPath form to a MySQL database.

InfoPath Q&A: How do I get HTML tags to appear as HTML and not as plain text in a Rich Text Box?

How to search for and find InfoPath information on the Internet

Learn how you can use online search facilities and engines, forums, and Microsoft web sites to find information about InfoPath on the Internet.

InfoPath Q&A: How do I add a carriage return to the Default Value of a Rich Text Box?

InfoPath Q&A: How do I grab the value of another field in the same row of a repeating table?

Learn how to use the current() function in InfoPath to be able to retrieve a value from another column but in the same row of a repeating table.

InfoPath Q&A: How do I calculate date differences and skip holidays stored within a SharePoint list?

InfoPath Q&A: How do I subtract lunch hours from time calculations?

Learn how to use InfoPath functions and rules to calculate differences in time and subtract hours for lunch from that.

Training for InfoPath – A beginners guide to learning InfoPath

Learn which InfoPath training resources are available for free online when you are trying to learn how to use InfoPath 2003, InfoPath 2007, or InfoPath 2010.

InfoPath Q&A: How do I avoid getting NaN when using the max() function?

Learn how to avoid getting the NaN error in InfoPath when using the max() function and submitting an InfoPath form to a SharePoint form library.

InfoPath Q&A: How do I submit a repeating table of data in InfoPath to a SharePoint list?

How to get the rid of the first empty row in a repeating table in InfoPath

Running code before rules in InfoPath

"Root element is missing" error when trying to create an XPathDocument object from Request.InputStream

Lean how to avoid getting the error message 'Root element is missing' when submitting an InfoPath form data to a web server.

InfoPath Q&A: How do I reset fields in InfoPath?

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners

InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013

InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners

InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010

InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers

InfoPath 2010 Cookbook 4: 101 Code Recipes for VB Developers

InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services