Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7357 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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.

Posted

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

Thank you.

Posted

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

Posted

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.

Posted

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

Posted

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.

This topic is 7357 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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