9 years ago
4
Topic

Hi all,

I'd like to apply a conditional to a checkbox and have it fill in the checkbox if another field on the page has a particular value.

I have been able to make the checkbox appear and disappear using the is Visible state (thus, I know that the condition is being met correctly).

However, I have not been able to determine how to make the checkbox become checked when the conditional is true. I've tried 'is Filled' and 'is Filled by' but these cause no change to the checkbox.

Any suggestions would be appreciated, and thanks in advance for your consideration.

Get a VIP membership
233 Posts
pepperstreet
9 years ago
0
Level 1

Hello Ross, 

would you mind to give some details about your current field parameters/setup? Maybe a screenshot. What is your actual value for "checked"? Most likely the default value is 0 , and the checked option value is 1 

Example: 

I assume, your Checkbox has a default value 0 and in Options you may have MyOptionLabel=1 

I guess, is Filled with a value of 1 should work. Here is a similar topic and question. Hence the usage of #form# 

9 years ago
2
Level 1

Thanks for the reply.

I know that the trigger for the conditional works, because if I make the state is Visible, then the checkbox will appear/disappear appropriately.

However, when I try to check/uncheck the checkbox based on the same conditional trigger, nothing happens.

Here are my checkbox settings.

Here are my conditional settings for the checkbox.

Any help is much appreciated. Thanks.

9 years ago
1
Level 2

New wrinkle:

The images in my last post are hard to see, but the only entry under options in my checkbox settings is "Client Appointment Statistics = 001"

If I use the "is Filled by" state in my conditional with the value "Client Appointment Statistics = 001" then the checkbox is effectively set to the value 001. I know this because I have a different conditional field which is only visible when the checkbox value is 1. However, the checkbox is still not checked. The other conditional field shows us, but the checkbox remains stubbornly unchecked.

Any thoughts?

175 Posts
webcastor
9 years ago
0
Level 3

Hi Ross!

Have you tried a state - triggers: Click

The problem with checkboxes is that they are a collection of fields, so essentially you have to "target" the checkboxFieldName[1], [2] and so on, not the field it self.

Get a VIP membership