Multiple checkboxes

A

andyoye

IP2007

I have 10 check boxes and want to disable a button when ALL ten boxes are
checked.

Under "Conditional Formatting" I can only enter up to 5 conditions per Rule.

thanks
 
A

Anuma(GGK Tech)

Hi,

In the button properties select Conditionalformatting and click on Add
button. And select "The expression" in the first dropdown. use the following
expression in the second field.
my:field1 = string(true()) and my:field2 = string(true()) and my:field3 =
string(true()) and my:field4 = string(true()) and my:field5 = string(true())
and my:field6 = string(true()) and my:field7 = string(true()) and my:field8
= string(true()) and my:field9 = string(true()) and my:field10 =
string(true())

Here field1,field2,field3,.. etc. are the check box fields.
 
A

andyoye

Thanks, on same issue, Can I disable a button based on values in text boxes
?

What would be the syntax if text box = txtName and its value is Yes

Thanks again
 
A

Anuma(GGK Tech)

Do you want to disable the button when text box is not blank or when text box
have specific data?
 
A

andyoye

Specified data, but I got the answer by changing the condition to "The
Expression" from the first drop down.

Thank you so much.
 
A

andyoye

One more question,

Is it possible to disable or hide say 20 check-boxes by clicking a button?
 
A

Anuma(GGK Tech)

You can use same formula for 20 checkboxes also.

And this should work for browser enable forms also.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top