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.

value list

Featured Replies

I have a value list (radio buttons) that contains three values (in the same field). I would like to make a script that when a user checks one certain value, send an alert email to someone.

So far, I made the whole value list field connect to the script. So no matter which button to check, the script is activated, which is not what I want.

Please help. I am totally new to FileMaker Pro.

Thank you.

Put individual transparent buttons over each radio button option and attach them to separate scripts. Each script will Set Field [field, "selectedoption"], then perform a Send Mail step, or whatever other steps you want. Disallow access to the field, unless you have an option that should only make a selection and do nothing else, in which case you wouldn't need a button over that option.

  • Author

Can you please give me more detailed inftructions of doing "indi. transparent button"? And "Disallow access to the field", why need this?

Thank you.

You can create a circle and format it as a button. To make it transparent, set its background to the same colour as the field's background and set the pen width to 'none' so there is no border. Put this button over one of the field's options so that it lines up nicely. Then format it to perform a script to set the field with the particular option and whatever other steps you want to occur.

You wouldn't have to disallow access, but it can make it look nicer and prevent anyone from tabbing into the field and bypassing the buttons. If you do allow access, you'll want to remove the field from the tab order (in Layout Mode, select Layouts -> Set Tab Order).

  • Author

works only half way. When I first click on this radio button (one of the options), it works. If I click on options first, then click on this button, the script button doesn't work.

Thanks.

The transparent buttons take the place of clicking the individual options. See attached for a simple example. Click over one of the button options in layout mode to see the buttons and how they are formatted.

Yesno.zip

  • Author

Working now. I found that under radion buttons field, go to Field Format, I had "Behavior, Allow entry into field" checked, which caused the problem.

Thank you for the sample. it helped.

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.