Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Infopath
|
Infopath Programming and automation discussions only please. :)
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Infopath section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 6th, 2007, 06:04 AM
Registered User
 
Join Date: Jul 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Row colour change with Checkbox

Hi All

Is there anyway I can get a table row to change colour depending on whether a check box is (in that particular row) is checked or not?

Conditional Formatting doesn't appear to have this as a working option.

Joe
 
Old July 9th, 2007, 08:41 AM
Registered User
 
Join Date: Jul 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Joe,

You can put a Conditional Formatting on the Repeating table that whenever the Check box is selected the Row gets colored

Follow these steps
Open the Repeating Table properties, select Display tab --> Conditional
Formatting Button.
Click on the Add button
Select the Check Box field in the First DDL and Is equal to in Second DDL
Enter the text Yes in the Third DDL
Then select the shading and click OK three times to save the Condition

Whenever you select the Check box the entire row will be colored.

Hope this helps you.


Kalyan G Reddy - INFOPATH MVP 2007

http://www.ggktech.com
 
Old July 9th, 2007, 02:03 PM
Registered User
 
Join Date: Jul 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I haven't got the option for 'yes' but have
"True"
"False"
"1"
"0"
Selct field or group...


also will this work in infopath 2003?

 
Old July 10th, 2007, 06:25 AM
Registered User
 
Join Date: Jul 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well I seem to have type... option in office 2003 but not 2007.

(2003 at work, 2007 at home)

I've tried it in both places and still it won't work.

I did the
First DDL = Check Box field
Second DDL = "Is equal to"
Third DDL = Yes

and altered the shading box but it doesn't work...

argh!

Am I doing something wrong?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Table row background colour changing meetravig Java GUI 0 September 21st, 2007 05:06 AM
how to change the colour of a cell in a jtable Tomi Java GUI 1 April 25th, 2007 03:35 AM
How do I change a row colour with a checkbox? Lucy Javascript How-To 4 November 15th, 2005 08:53 AM
change the colour of some particular rows bimal ADO.NET 1 September 10th, 2004 02:31 AM
Is there a way to change the colour of a tab ctrl? snowydust VB How-To 0 August 10th, 2004 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.