-
Ooooh thank you very much for that. I knew there had to be a way to do it somehow.
-
Member variables (global variables) are not supported by Browser enabled forms, so you cannot use them, instead you can use form state. to store variables. just follow the syntax given private object _memberVariable
{
get
{return FormState["_memberVariable"];
}
set
{FormState["_memberVariable"] = value;
}
-
In InfoPath, you cannot decalre variables directly. To declare the variables you need to use the form state dictionary.
-
Hello vampyrus,
I usually use the function method.
concat(field1, ";", field2, ";", field3, ";", field4)
This puts together 4 fields with a ";" between (same as in Outlook).
Good luck
-
Hi. I have created a form in InfoPath and I have userd some code in C# for creating some connections to an Sql database and for doing some other things. When I have tried to make it browser enabled i got many errors and I was suggested to use the FormState property to store data. Can someone inlight me please. What exactly is this? What should i ...
-
to print two copies. just call twice
this.Print();
to save file to your local system
this.CurrentView.Export("file path and name", ExportFormat.Pdf);
-
I have an infopath form that users are required to fill out and then click on submit so that the form then emails to the relevant people.
The main email recipient is set as default value in the "to" section of the submit button.
The other 4 email addresses come from 4 fields within the form itself.
The poblem that I am having is ...
-
Hi,
I have created a form (attached) to allow users to submit business cases.
Section 3.3 is a repeating section which holds costs data. Users can insert a new section to allow them to enter costs for a number of different possible options.
Is it possible to get the total cost for an option (field235) and insert it into the ...
-
i have an infopath form that has a number of dropdown controls populated from a sql server database.
when the data connections are set within the form then users can access this form fine. ie the username/password are set directly in the connection wizard.
however when i tried replacing these feeds with calls to a web service the users could no ...
-
Hello all,
I decided to create an account here, because I am out of ideas how to solve the problem that I have:
My Form was published one month ago and some people are still testing the form. Since last week however, I am not able to update the form anymore on SharePoint.
"InfoPath cannot save the following form:
This document library ...