-
The expression I provided applies to all checkboxes in a repeating section. It will evaluate to TRUE when all the checkboxes are unchecked and will be FALSE when one or more is checked.
-
No, this isn't possible. You have a few alternatives:
Place multiple similar-looking controls on the form with different bindings, and use conditional formatting to hide all but one at any given time
or
Create a secondary (embedded XML) data source and bind the controls to fields in this data source, setting its values to and from ...
-
Well, unless the checkboxes have a value of "no" when they are checked, I believe you should probably have a different value in those quotation marks. (My guess is that it should be "yes".)
-
I understand just fine what your requirement is and that expression should work. Could you show me the expression you are trying to use?
-
This functionality is not built into InfoPath, but qRules 1.5 will allow you to do it. I recommend having a look:
http://www.qdabra.com/en/download/Download_qRules.aspx
-
The expression:
not(/my:myFields/my:repeatingGroup[my:checkedField = 'valueWhenChecked'])
(substituting the underlined parts of course and adjusting the path as necessary) will be TRUE when none of the checkboxes is checked, and FALSE when at least one is checked, so you can use that as an expression in conditional formatting (to hide ...
-
Hello again,
Glad you got it worked out. Your solution seems like a pretty good one and I think cloning the attribute is probably as good as any other approach.
Just so you know, you can manually create an xsi:nil attribute like this:
IXMLDOMNode nilAttr = thisXDocument.DOM.createNode(DOMNodeType.NODE_ATTRIBUTE, "nil", ...
-
[quote user="lcaillouet"]So then I set a condition not to display another control if this list box contained one of listed customer types.
Since the first line is blank it thinks there is no customer type so nothing gets displayed.[/quote]
The above doesn't make a lot of sense to me. If you set it to not display a control ...
-
pricewithtax / (1 + taxrate)
-
In Data Connections... under the Tools menu you can set up a Submit data connection to a Sharepoint library or E-mail. You can create one or two of those, and then set up the appropriate button to use a Rule to query the desired data connection (select Rules and Custom Code from the dropdown menu in the button's properties and then click ...