Conditional Formatting Conundrum - Greg Collins
in

InfoPath Dev

This Blog

Syndication

Greg Collins

Conditional Formatting Conundrum

STATUS: Fixed in InfoPath 2003 SP2.

SCOPE: SP1 Managed Code.

DESCRIPTION:
I uncovered this bug on 2004-03-08 and reported it to my Microsoft contacts. It was at that point unknown to Microsoft.

This bug is managed code specific, meaning it will not happen when using script. It is manifest when populating an xdCombo box control from the main DOM or from a secondary data source. Initially everything will work fine. But once the view has been roundtripped in the designer, the conditional formatting will be removed from this control.

WORKAROUNDS:

  1. Download and install service pack 2 of InfoPath 2003.
  2. Use a section around your drop-down list box, and place the conditional formatting on the section.
  3. Place the drop-down list box in a preserve block.

©2004 Greg Collins. All rights reserved. Licensed to Autonomy Systems, LLC for display on InfoPathDev.com.

Comments

No Comments
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.