infopath-2007

Setting InfoPath form name for printing as PDF?

We have some custom print code to print an Infopath form on the user's default printer as well as a server-based PDF printer for loading into a document management system. This is working perfectly, but we would like to control the name of the generated PDF file. The PDF print utility can automatically generate a file name using various ...

username() does not always evaluate in infopath

I have a testbox in my infopath form which is set to open in a browser. The value of the textbox is set to the username() formula. When I create a new form, the username() formula evaluates to the logged in's username, but the textbox is blank when an existing form is opened. This is fine, but should I expect the same behavior when the...

How does Infopath forms routing work (ie an Expense Approval form)? Is a PKI required?

I don't have an understanding on how the whole InfoPath product works. I know it can save data to Sharepoint. But here are a few bits of information I'm confused about: If someone saves an Infopath form to SPS, is the entire form saved, or just the data? How would an approval scenario work? My employer wants to use as little code ...

Custom coding not apply for inserted new row from browser enable form.

Hello , Now i have issue regarding to custom codding in browser enable form. I have created on browser enable form and done some custom coding on field Age. I get this age from SharePoint List by passing argument first name and last name. Store this age into int type variable and calculation done based on age and grade displayed to in...

InfoPath and external entities in XML

I have an XML file with external entities that I'm attempting to use as a secondary data source in InfoPath 2007. When I evaluate the XML (using XPath), instead of getting the substituted values from the external file I am getting the literal value in the raw XML. Here is the "core" XML file I am working with: <?xml version="1.0" ?> <...

how to Retrieve multiple values from Contact Selector in infopath form without code?

I need to get all the accountIDs selected in a contact selector control in my infopath form? Is there a way to do it without program? I heard there is a way to read repeating group values in infopath but could not get any concrete information? e.g. is it possible using a rule tht i can concatenate all the accountIds selected in the cont...

InfoPath 2007 to SharePoint 2010

Can you use InfoPath 2007 with SharePoint 2010? ...

Inject javascript to Infopath form

Hi everybody. We use Infopath 2007 + Sharepoint 2007 and need to inject some javascript to infopath form. I know that infopath form can be hosted on the aspx page using XmlFormControl. But this solution doesn't suit us =(. Is there any workaround? ...

InfoPath Repeating Table Rendering Issue

I have a browser-enabled InfoPath form with a repeating table. The left side of the table (looks like a few pixel-widths worth) gets cut off if I maximize the browser window in my main monitor. I don't have this problem on my secondary monitor or if I don't maximize the window. I have tried playing with the table size, wrapping the ta...

Use the same InfoPath form on both a library and a workflow task.

I have a fundamental workflow issue where by particular forms need to be generated and filled in by various users as part of a workflow. I started off having the form as a task form in the workflow. The problem is that if this form is an important business document, you don't want it locked away in a field, in a list item, in the workfl...

Programmatic update of InfoPath form XML is stripping off tags

Hello, I have a C# program that is looping through all of the forms (browser enabled) in my forms library and injecting an XML node into each of them (for a newly promoted field). For some reason, when the XML is saved back to the form, the first few tags are being stripped off. Specifically, these tags are: <?xml version="1.0"?> <?m...

infopath 2007- how to set cannot be blank from code behind

Hi, I have two drop down list box, on certain value of first drop down list box, i want to set the other drop down list property to cannot be blank, any idea, need some urgent solution, got stuck :( ...

Infopath to Excel through code

I would like to convert data from infopath form to excel spreadsheet through code. I know you can export the data using the feature in infopath, but I am interested in doing this through code (like a part of a workflow). Can anybody suggest a way for doing this or a possible starting point? Thanks. ...