1. pat01
  2. General
  3. Wednesday, November 13 2019, 11:00 AM
Hi

I have following situation:

One Checkbox with value Apple.
One checkbox with value Pear.

Radio button group with values
Apple
Pear

Now depending on which checkbox is activated, I want to show the corresponding value in radio buttons.

If “Apple” is checked, but not “Pear”, only “Apple” should be visible in radio button group.

If “Pear” is checked as well, both “Apple” and “Pear” should be visible in radio group etc.

How can I do this?
Thanks.
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry but probably I had not understood well.

To do this the best way is to use conditions and use more than one field for second radio:
For example:
- first radio with option Apple
- second radio with options Apple and Pear

now you can have a checkbox with these options (static options):
apple|Apple
pear|Pear

and following conditions:
- if equal to custom value "apple" then show first radio (inverse Yes)
- if equal to custom value "apple,pear" then show second radio (inverse Yes)

Basically is not possible to change options in radio field type, you can do it only in select field like example at https://www.easy-profile.com/support/conditional-drop-downs.html#reply-11318
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
Hi,
sorry for late reply, This is possible if the second checkbox get options from DB, with Data from DB you can filter options based on the value from another field (first checkbox).

Still, I'm really sorry for this late reply, unfortunately we had some technical issue with notification email due to change provider.
  1. more than a month ago
  2. General
  3. # 1
pat01 Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. General
  3. # 2
pat01 Accepted Answer
Pro
Hi

Unfortunately I can't figure out how to do this. Both checkboxes have seperate database column. So I must get value from column_apple and from column_pear. And all this as per user because each user can do his own setting in profile.

Do you have examples somewhere? I did check your documentation but not find any.

Thanks a lot.
  1. more than a month ago
  2. General
  3. # 3
pat01 Accepted Answer
Pro
Hi

Thank you. Hide/show should do the trick.
  1. more than a month ago
  2. General
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.