Support

  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
pat01 Accepted Answer
Pro
Hi

Thank you. Hide/show should do the trick.
  1. more than a month ago
  2. General
  3. # 1
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. # 2
pat01 Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. General
  3. # 3
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. # 4
  • Page :
  • 1


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

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.