-
I think the attached XSN does what you describe. All of the logic is in the fairly complicated formula on the default value of my:field4, which I'll reproduce below, but you only need to modify the underlined parts to adapt this to your own scenario:concat(xdMath:Eval(xdMath:Eval(/my:myFields/my:group1/my:group2[my:field1 = ...
-
1. If you don't know what values are going to be in the dropdown, how do you intend for the form to select a default value?
2. Unless you need the user to be able to edit this value, why not just use an expression box, and no rules?
-
Hello Andi,
1. Yes it is possible to work on a form in a team environment. We do this here at Qdabra. However, unfortunately it is inadvisable for multiple developers to work on the form simultaneously. Adding controls to a view causes changes to the manifest.xsf file that will be near impossible to merge if more ...
-
Does the approach I suggested not work for you?
-
No, there isn't a way to make just part of a text box or expression box bold (unless it's a rich text box, which is a whole separate story).
Might it work to have the text "Some text" in an expression box next to another bolded expression box with the saved value from txtHistory, to simulate the actual contents of txtCommentary?
-
Could this be because the field outside the repeating table where you're storing the Design Number is getting reset when you click Submit? You can probably get around this by unchecking the "Update this value when the formula's value changes" checkbox, but you'll probably want to look into why this is happening.
-
You should be able to use that field's Default Value formula to accomplish this. You'll need to store your Design Number somewhere so that the formula can access it at any time.
-
I haven't heard of InfoPath being used with ClickOnce, but is there a particular reason that you want to use ClickOnce? You should just be able to publish the XSN to a web server from the InfoPath designer.
-
http://www.w3.org/TR/xpath/#node-sets
The pipe symbol produces the union of two node-sets. You can chain these together on individual nodes to produce a single node-set from an assortment of unrelated nodes.
If your form doesn't need to be browser-enabled, it should be possible to show different parts of a ...
-
Please try this formula:
count((my:Math1 | my:Math2 | my:Math3 | my:Math4)[. = 1])
As I'm sure you're aware, using a repeating field offers several benefits over this approach. Is there any particular reason why your client wants the data source like this?