-
Thanks Jimmy. This worked great!
Paul
-
Open up fieldB's properties, click the fx icon to set its default value, and enter the following formula
number(fieldA >= 5)
using the Insert Field or Group... button to insert fieldA in the right spot in the formula, and you're all set.
-
Thanks again. I have created a new form as in the documentation provided.Published to a forms library. I created a separate library for attachments. When I use the button in the form "execute" on the local machine in preview mode in IP I receive the below error. If I upload the form and run from the server nothing happens and ...
-
Hi All,
Im converting some HTML forms into infopath forms for
using with sharepoint. I want to know why the below piece of code is
behaving differently in Infopath and Browser. Im pasting a portion of
view.xsl file below.
-------------------------------------------------------------------------
<input ...
-
Good Morning Hilary - Thnaks for taking time to help me - I'm a very Newbie, I don't understand Full Trust, it doesn't sound like I have a problem with it, since I'm on a federal intranet, so I trust all of my users. I'm on 2003. I played with that code for a couple of hours yesterday and kept getting this ...
-
Hi,
This has probably been asked before, but I could not find anything related to this question in the forums. Any assistance is greatly appreciated.
This is my dilemma:
If the value in field A is greater than or equal to five, field B should equal 1. If field A is not greater than or equal to 5, field B should equal 0. Field B will be read ...
-
Not a permissions issue. I can select any field in the document library using the default datasource in SharePoint, with the exception of the name of a file. This is the one field that I need though. Asking in a SharePoint forum, they have suggested that I need to get the onetIDIOFile text value, but that is where their help ...
-
It worked perfectly! Thank you so much!
-
Thank you for your contribution, but the following pair of lines will produce exactly the same result:
string strNow = XmlConvert.ToString(DateTime.Now, "yyyy-MM-ddTHH:mm:ss");
objStartDateTimeNode.SetValue(strNow);
The following will also work just fine:
objStartDateTimeNode.SetValue(XmlConvert.ToString(System.DateTime.Now));
-
While the following is a bit long winded it does work, I would expect a DateTime format provider to give a much more succinct block of code, but this gives precision.
Based upon an InfoPath DateTime Data Type field with its display format set to show either Date or Time, the following C# will populate this field:
string strNow = ...