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

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

Recommended Posts

Posted

Hello,

I've been using EventScript plugin successfully for running a script when a field is set to a specific value (an on/off radio button field). Can FM 11 do this natively? I can't seem to find any mention of this functionality anywhere.

Thanks,

Alvise

Posted

Thanks for your reply.

However, I don't want the script to be triggered when the value changes, I want it to trigger when the field is set to a SPECIFIC value. Is this possible?

Posted

No, you cannot have the script triggered only when a specific value is entered, but you can have the script do nothing if the specific value is not entered.

Make the script something like this:

If [myTable::myField = "special value"]

Show Custom Dialog ["Hey!"; "You entered a special value"]

End If

Posted

This may work in the field I'm working with since there are only 2 possible choices, one of which triggers the script. However, it will not work, or rather it would need a work around to really do what I want. I'll stick with EventScript for now, since it is very easy to use and works very well. Thanks again.

Posted

However, it will not work, or rather it would need a work around to really do what I want.

Why ?

What do you really want ?

Posted

The field is an "On/Off" switch: "0" = Off, "1" = On, by value list, radio button.

When turned "On" the field triggers a script. If the field is cleared (value deleted), or set to "0", the script should not trigger.

Posted

Sorry. Now I see. This is in fact usable! Furthermore the checking of the field value as the first step in the script should have been part of the script all along in order to avoid false triggers, even with the plugin solution I was using. Thanks Again!

This topic is 5245 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.