Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Auto-Select Radio Button using Drop-Down Menu

Featured Replies

  • Newbies

Hi All

I am still a complete beginner, so I expect this is a fairly simple problem.

I have a drop-down menu with options "beef", "pork", "salad", "fruit"

and a radio button set with options "meat", "vegetarian".

If the user selects "beef" or "pork" from the drop-down menu, I'd like the radio button "meat" to be automatically selected. If they select "salad" or "fruit", I'd like the button to switch to "vegetarian".

Is this possible?

Thanks for your help and patience.

Hi Cuttysark,

Welcome to the FM Forums :)-)

I created a small application for you to look at. This is a trick that I made. I created a field to hold a temporary value and calculation value. You can look at it to better understand what I am saying.

Maybe, there will be more elegant way to do this. But for now, you can see if this works out for you.

Hope that helps...

radiobutton.zip

  • Author
  • Newbies

That works great, thanks!

I don't think you could do it much more simply or elegantly - I just missed the fact that turning the radio button into a calculation would do the trick. Thanks again!

Edited by Guest

Hi Cuttysark,

You are welcome...

Glad that I can help you out... :)-)

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.