-
nvm problem solved... field is case sensitive.
-
Hello Matt,
Thanks for your help.
I can now catch my error.
The error I am getting is:
Request for the permission of type System.Security.Permissions.EnvironmentPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
Any idea what that means? In my project code I am uisng
string dUser = ...
-
I tried searching through the forums for this issue already but no luck.
I have a field in an infopath form, lets say its called ''jobtitle'', and I would like to check it for a certain combination of letters after a user fills it in. So my conditional formatting looks like this (section properties > display > conditional formatting):
If ...
-
OK, so just to let everyone know, I was able to accomplish my task by stumbling onto this tutorial.http://infopathdev.com/howto/tutorials/default.aspx?i=075c4e8e56db4fa5bd63615b712c0d91
It told me exactly how to do what I needed to do.
No my next problem is this.
How do I populate a text box with an attribute from the current selected option in ...
-
Well, I just wanted an easier way to do it :(
---------------
Matt Faus
-
Why don't you use methods and properties associated with the Exception variable to determine exactly what the error is? Just because your program compiles correctly, doesn't mean that there will be no runtime errors. Determining the error thrown will be the first step towards correcting your code.
I'm not familiar with syntax or structure of C#, ...
-
Hello,
I have an infopath form written in c# .net. The form compiles sucessfully on my machine, however when published to sharepoint an exception occurs. I know there is is an exception becuase I am using try, catch and finally ie:
try {
have custom code here
}
catch (Exception ex)
{
field1.text = ...
-
Hi Matt,
Have you tried to set a default value in your node (main document) by code? Since you can read the data to be displayed in your drop down from your secondary source, can't you grab one and use it as a default value?
Is the ''Cannot be blank'' checkbox is checked in your drop-down?
Regards,
Franck Dauché
-
Hello,
I have kind of looked over this since I have been developing my form, but I would like to fix it now. I have several drop-down lists that are connected to my secondary data source. They populate correctly, but the first option is always blank. I would like to set the default selected row as the first item returned from the secondary data ...
-
Hey guys. Thanks for all the advice. Very helpful. And in case anyone else wants further clarification, I found a good way through conditional formatting, as suggested, to open additional forms depending on drop down selections. When you open the properties window you can set rules from the data tab. One of the actions is actually ''open a ...