By Eric
Published: March 21, 2008
Print    Email

Yet another screen cast. This shows how to get past the GUI restriction of only 5 conditional formatting values in INFOPATH 07 

 

Volume 3 InfoPath and Moss. See how to overcome the 5 conditional formatting limitation in InfoPath 2007.

 



click here for Volume 3 InfoPath and Moss

 

In this tutorial we will show you how to get past the fact that you can only use 5 sets of drop downs for conditional formatting in InfoPath 2003/2007 using the Xpath of the datasource elements.

 

For reference, here is the code for adding mulitple conditional formats via xpath. You'll repeat this step for as many conditions as you have. I have left in my specific xpath to give you a better understanding of different datasource elements. In my example I have 6 different conditions. Yours may vary slightly in some cases "../" may apear in order to get to the root of you xpath.

Red = Pasted Xpath

Green = steps you will need to repeat.

(/my:Patient_Info/my:Patient_Eval/my:Wrist_disarticulation_chk != string(true()))and(/my:Patient_Info/my:Patient_Eval/my:Transradial_chk != string(true()))and(/my:Patient_Info/my:Patient_Eval/my:Elbow_disarticulation_chk != string(true()))and(/my:Patient_Info/my:Patient_Eval/my:Transhumeral_chk != string(true()))and(/my:Patient_Info/my:Patient_Eval/my:Shoulder_disarticulation_chk != string(true()))and(/my:Patient_Info/my:Patient_Eval/my:Interscapular_thoracic_txt != string(true()))

 


Submit Article

5344 Views - View Comments (0)

Twitter Feed @ericharlan

Latest Blog

Weight Loss or Bust - So did it work?
Updated: January 2, 2012

SharePoint Search and DisableLoopBackCheck
Updated: December 18, 2011

SharePoint Conferences 2011 + Asia
Updated: November 15, 2011

It’s sick, but I love the turbulence.
Updated: November 15, 2011

Cruise on up to the Med
Updated: October 22, 2011

SPC11 MSPFE Meet and Greet
Updated: September 30, 2011

Ebay, you reek of Idiocy
Updated: July 6, 2011

Hard CORE AD Core setup for SharePoint
Updated: May 31, 2011
  [1] 2 3 ... 16   Next

Blogs I Frequent

Connect

 


  

 

 

Locations of visitors to this page

RSS Syndicator