Can you shade a field using code? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Can you shade a field using code?

Last post 06-22-2011 10:01 PM by Patrick Halstead. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-22-2011 03:05 AM

    Can you shade a field using code?

    Hi all -

    I'm trying to code some conditional formatting. To do it without code means updating 43 fields with more CF rules, which could then change in the future. I was hoping to use some select case code to do the job.

    I can't find the code to set a field's shading. Is it possible?

    TIA

  • 06-22-2011 05:26 AM In reply to

    Re: Can you shade a field using code?

    OK - I've read a bit more on the subject, and it seems that it's not possible in InfoPath :( Looks like it'll be the hard way...

  • 06-22-2011 10:01 PM In reply to

    Re: Can you shade a field using code?

    Hi Joanne,

    if you are trying to shade based on data that changes, just add a secondary data source to your form and use that in your CF.

    if you are trying to conditionally change the color of the shading, that can also be done by adding all possible variations into your form and show-hiding based on the data.

    might not be as hard as you think ...

    :)

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.