-
From a quick experiment right now, it seems that the default values are evaluated before the form load rules.
-
If you change your checkbox to a Text datatype (instead of True/False), then you can use a default value formula to accomplish this:[OPTION1] = "true" and [OPTION2] = "true" and [OPTION3] = "true" and [OPTION4] = "true" The other approach is to use this formula in a rule on each of your other ...
-
[quote user="Graeme"]I'm still a bit confused about the difference between a DataSource and a DataConnection though.[/quote]They are essentially one and the same, but as far as the code goes, you use a DataSource object to access a data source's XML data, and use a DataConnection object to access its properties and/or ...
-
Hilary is absolutely right about interacting with the data connection object, but REST connections inherit from the FileQueryConnection class:
FileQueryConnection conn = (FileQueryConnection)DataConnections["REST Web Service"];
conn.FileLocation = "http://server/someservice.svc?param1=a&param2=b";
conn.Execute();
-
It sounds like you need this: concat(substring(substring-after(Full Name, ","), 1, 1), ". ", substring-before(Full Name, ","))
-
The logic will be a lot cleaner if you use a repeating structure and keep track of the Pass/Fail values for each row. Please have a look at the attached form. I populated the table using the Default Values dialog accessible from the Data tab in InfoPath 2010.
-
Are your milestones in a repeating structure, or are the checkboxes bound to individually-named fields?
-
I would suggest extracting the source files of each form and searching the manifest.xsf file for your form for the server name, then searching the manifest.xsf file of your test form for the alias. If they occur in similar contexts, then you can try replacing the server name with the alias name in your actual form's manifest and then ...
-
[quote user="mbcoll"]My first problem is that when I set them to be TRUE by default and publish to SP they default back to false.[/quote]Could you clarify what you mean by this? Where have you set them to true? In what way have you witnessed them defaulting back to false?[quote]If my total is 15 and I have three true/false boxes, I want ...
-
Please try this: count(myField01[. = ''] | myField02[../myField01 = 'Yes' and . = ''])or even this:count((myField01 | myField02[../myField01 = 'Yes'])[. = ''])