conditional formatting on a calculated value - InfoPath Dev Sign in | Join | Help in Controls InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Controls » conditional formatting on a calculated value conditional formatting on a calculated value Last post 05-20-2013 10:58 PM by CBMavic. 7 replies. Page 1 of 1 (8 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 05-15-2013 02:05 AM CBMavic Joined on 10-23-2012 Posts 13 conditional formatting on a calculated value Reply Contact I need to add a color to a field based on its calculated value. when I add the conditional formatting to the field in IP where the formatting is setup it does not display the color. The calculated value references/calculates a field in another list that then totals all of those values. I am not into any coding and have searched the web but alas no luckThanks in advance! Filed under: Conditional Formatting, calculated values 05-15-2013 05:27 AM In reply to ErnestoM Joined on 08-27-2007 Posts 3,320 Re: conditional formatting on a calculated value Mark as Not AnswerMark as Answer... Reply Contact The only thing I can think of is that the conditional formatting is not set up correctly, i.e. the condition isn't mean matched.Maybe try a simple condition, to ensure that the color is added, then build your condition as desired. Ernesto MachadoQdabra® Software/ InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ 05-15-2013 06:09 AM In reply to CBMavic Joined on 10-23-2012 Posts 13 Re: conditional formatting on a calculated value Mark as Not AnswerMark as Answer... Reply Contact I did a simple condition and that was working correctly. is it even possible to add a conditional format to a calculated value? Is it possible in the Fx field of the calculated value to add a conditional format. ( I think I know that answer, just trying to ruling out ideas) 05-15-2013 02:08 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: conditional formatting on a calculated value Mark as Not AnswerMark as Answer... Reply Contact Yes, you can add a conditional format to a calculated value. I've attached a simple sample. Save it locally, right click the saved file, and select design to open in design mode & preview. Hilary Stoupa 05-15-2013 02:10 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: conditional formatting on a calculated value Mark as Not AnswerMark as Answer... Reply Contact Ah - I see I slightly misinterpreted you - attach your form under the options tab & I'll give you a hand. Hilary Stoupa 05-15-2013 10:39 PM In reply to CBMavic Joined on 10-23-2012 Posts 13 Re: conditional formatting on a calculated value Mark as Not AnswerMark as Answer... Reply Contact I am not seeing the sample, ? 05-16-2013 08:30 AM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: conditional formatting on a calculated value Sample.xsn Mark as Not AnswerMark as Answer... Reply Contact Sorry - I didn't attach it! But again, sounds like you may be looking for something a little different - feel free to attach your form under the Options tab. Hilary Stoupa 05-20-2013 10:58 PM In reply to CBMavic Joined on 10-23-2012 Posts 13 Re: conditional formatting on a calculated value Mark as Not AnswerMark as Answer... Reply Contact I got it working, I added the calculated value rule/formula to the conditional formatting rule that worked perfect, I didn't realize that was possible. Sometimes by InfoPath it is just a matter of trial and error... Page 1 of 1 (8 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I need to add a color to a field based on its calculated value. when I add the conditional formatting to the field in IP where the formatting is setup it does not display the color.
The calculated value references/calculates a field in another list that then totals all of those values. I am not into any coding and have searched the web but alas no luck
Thanks in advance!
The only thing I can think of is that the conditional formatting is not set up correctly, i.e. the condition isn't mean matched.
Maybe try a simple condition, to ensure that the color is added, then build your condition as desired.
I did a simple condition and that was working correctly. is it even possible to add a conditional format to a calculated value? Is it possible in the Fx field of the calculated value to add a conditional format. ( I think I know that answer, just trying to ruling out ideas)
Yes, you can add a conditional format to a calculated value. I've attached a simple sample. Save it locally, right click the saved file, and select design to open in design mode & preview.
Ah - I see I slightly misinterpreted you - attach your form under the options tab & I'll give you a hand.
I am not seeing the sample, ?
Sorry - I didn't attach it! But again, sounds like you may be looking for something a little different - feel free to attach your form under the Options tab.
I got it working, I added the calculated value rule/formula to the conditional formatting rule that worked perfect, I didn't realize that was possible. Sometimes by InfoPath it is just a matter of trial and error...