Skip 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.

set radio button from custom dialog action

Featured Replies

Hello everyone!

I am trying to use a custom dialog to set a radio button. The dialog says would you like to do something: default button is no and button 2 is yes.

if the user hits no this will end the dialog, but if the user hits yes then this will set a radio button and then insert text into a portal and set a global price in the next field. I have looked at the radio script file that was posted, but that was not working. Any help would be greatly welcomed.

Thanks

If you follow the Show Custom Dialog[ ] command with:

If [Get(LastMessageChoice] = 1]

Set Field [YourTable:RadioButtonField; "YourButtonValue"]

End If

(where the set field command places the exact text value associated with the radio button you want set), the associated radio button will be selected.

NB, I'm assuming that the Yes button on your custom dialog is the first button, which is why I've suggested Get(LastMessageChoice] = 1. If it's the second button then you'd need Get(LastMessageChoice] = 2 instead. :wink2:

  • Author

Thanks for the quick reply. I did a little tweaking and it works perfect. Thanks

Picture_2.png

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.