-
Hello @all,
I don´t know if I misunderstood the above mentioned problem but why can´t you just use an expression like
Expression: count(my:field1) >= "3"
Condition: Don´t allow users to insert or delete this control ==> Activate
In my opinion that´s the easiest way to ...
-
Hello Carlos,
I have done something similar in my own projects --- I always use a popup window to show the infopath form in a browser window --- and after submit I always want to close the form automatically...
What I have done is the following:
1. Put a file called "WindowClose.htm" in a folder under ...
-
Hi,
it is possible to use auto-number in a field of a repeating table. Just set the default value of a textfield in a repeating table to the following XPath-Expression:
count(../preceding-sibling::*/my:Fieldname) + 1
and activate the option "... Update this value when the result of the formula is recalculated"
Regards,
-
Hi Qazi,
thank you very much for the tip regarding the use of two section controls. I´ve tried this --- and it works perfectly.
Regards,
-
Hello,
I know that (unfortunately) an attachment control in browser based forms cannot be conditionally formatted. Actually I have the requirement to disable the attachment from being removed/changed but able to be just viewed?
Does anyone know a trick or a workaround to set an attachment control in "view-only" mode. I know that I can ...
-
Hi Patrick,
... to tell the truth --- I don´t understand what you mean. In my experience it is not allowed to declare a member variable in the form code regardless of 'private' or 'public'. If you declare such a variable for example:
private (or public) Log4Net log4net;
you can´t upload the form in the 'Central ...
-
Hello,
I would like to use the free logging component "Log4Net" (http://logging.apache.org/log4net/index.html) in my own web enabled forms. As I know that I can´t use private member variables in my code I would like to initialize the Log4Net object with a formstate variable.
But unfortunately if I used the following code:
private ...
-
Hi Bjoern,
maybe the following thread can help you:
http://www.infopathdev.com/forums/p/13489/47827.aspx#47827
I guess there´s a problem with the "line break" in your ressource file which can´t represent in a browser enabled form.
Hope that helps.
-
Hi,
as Greg already posted you can use custom code to handle the version upgrade of your forms. You can find more information regarding this event in the following MSDN article:
http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.formevents.versionupgrade.aspx
Below you will find a small code snippet:
public void ...
-
Hi GMLear,
... please use the text "\r\n" as the 'line feed' ... for example:
[navigator].SelectSingleNode("[node]", NamespaceManage).SetValue(string.Concat("First line","\r\n","Second line","\r\n","Third line")
Hope that helps.
Regards,