InfoPath 2010 present vs. not blank in rules
Learn what the difference is between present and not blank when used in conditions on rules in InfoPath 2010.
You typically set one or more conditions on a rule to make that rule run under certain circumstances. There are four conditions, which may cause confusion as to when they should or should not be used in InfoPath. Those four conditions are:
- is present
- is not blank
- is blank
- is not present
The easiest way to think about the usage of the aforementioned conditions is to remember that present indicates the presence of a node in a data source (Main or secondary) of an InfoPath form, while blank refers to the actual value of a node.
The following InfoPath 2010 video explains what the difference is between is present and is not blank or between is not present and is blank when used in a condition on a formatting rule in InfoPath 2010.
In this InfoPath 2010 tutorial video, you learned...
- How to set conditional formatting on a control that depends on another control that is located in an optional section control.
- How to add a formatting rule with an is not present condition on it.
- How to add a formatting rule with an is present condition on it.
- How to add a formatting rule with an is not blank condition on it.
- How to add a formatting rule with an is blank condition on it.
See more InfoPath 2010 tutorial videos »
Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent of S.Y.M. Wong-A-Ton. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author, S.Y.M. Wong-A-Ton.