-
Yes it sounds like you might need to do a more sophisticated XPATH in your default value.
For the second question you can get the URL of the template from the InfoPath OM and then use code to query the appropriate SharePoint list.
-
Thanks for the quick reply. This is EXACTLY what I was looking for. Thanks!!
As I gain more info, I'll try to help out others on here as well.
-
Thanks for the quick reply. Would it help to make the form fully trusted?
-
Unfortunately InfoPath locks the view switching during this operation. We ran into a similar view switch issue on another project and had to use a tricky workaround. We set an onContextChange handler to pickup when the cursor was in the first field int he view and then did the switch back. In your case this would prevent the user from ever ...
-
Welcome to our forum! This is indeed possible. Go to Default Values... under the Tools menu. Find your repeating section in the tree. Uncheck the repeating section. This will remove the initial default item. The UI icon/link will still show for adding an item.
-
Newbie here.
My goal is to have a repeating section that only shows up as a link by default. The user has to click on the link to actually view the questions. Currently, my minoccur=0 and from what I read on the forum, this just means it can be changed to occur 0 times. Is there a way to have it occur 0 times by default? Is this just the nature ...
-
Try putting the switch view code after the printout code. It will switch back to the original view.
-
I created a travel request form that allows multiple travelers and multiple legs per request. I have a standard form view that collects the traveler info from a main form and fills in the standard form view with the applicable data. Now I need to be able to print one standard form for each traveler with only one leg of travel per standard form.
I ...
-
Thank you for a quick answer. I have a few difficulties however.
Question 1
I have tried to set the default value as you have suggested before, however it always takes the wrong values, as there is a bit of a complication. The number that is multiplied is from a secondary data source that is filtered by a drop down list in the repeating table. ...
-
Hi All!
I'm new to InfoPath 2007, just started a few days ago.
I have created a form with simple controls on it and I have some code behind written in c# VS2005.
I would like to query a SQL database and populate some of the fields and publish this form to a network drive but I have encountered a few problems:
1: My Office doesn't seem to have ...