I've had to create a very long and [fairly] complicated set of parameters for
conditional formatting of a repeating section. I now have to do the same
parameters but changing different elements formatting. Instead of having to
rewrite all the lines is there a way to copy the conditional formatting and
stick it in another place to modify?
UKDeluded - 09 Sep 2005 14:45 GMT
Or I could do (probably even harder though) if table border = yellow then
value = X
> I've had to create a very long and [fairly] complicated set of parameters for
> conditional formatting of a repeating section. I now have to do the same
> parameters but changing different elements formatting. Instead of having to
> rewrite all the lines is there a way to copy the conditional formatting and
> stick it in another place to modify?
Greg Collins [InfoPath MVP] - 09 Sep 2005 19:57 GMT
When your conditions get complex, its time to move them to code.
The following how-to article on InfoPath Dev explains how to do so:
http://www.infopathdev.com/howto/tutorials/default.aspx?i=88f921f13dec4e7cae6119
1bac084fff
The article is talking about rules, but it works the same for conditional formatting, except that you don't need to do the manifest modification when working with conditional formatting.
Good luck!

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
I've had to create a very long and [fairly] complicated set of parameters for
conditional formatting of a repeating section. I now have to do the same
parameters but changing different elements formatting. Instead of having to
rewrite all the lines is there a way to copy the conditional formatting and
stick it in another place to modify?