|
|
By EricHarlan Published: September 9, 2007
Volume 3 InfoPath and Moss. See how to overcome the 5 conditional formatting limitation in InfoPath 2007.
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. 
click here for Volume 3 InfoPath and Moss
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()))
|
|