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

4730 Views - View Comments (0)

Twitter Feed @ericharlan

Latest Blog

Blogs I Frequent

Connect

  

 

Oh the places I've been

Travel Map

Digg It

RSS Syndicator