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

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

Recommended Posts

Posted

Hi All,

I'm trying to figure out how to get a script to launch after data is input into a certain field; Specifically, a radio button field.

Can you gurus help?

Thanks,

Chris

Posted

If you want to trigger a script after entering data into a field, you can try to use an event plugin such as EventScript or ZippScript.

However, since you are talking about a Radio button field, you can just put "clear" buttons where the user would click the radio button. The invisible buttons can have script parameters attached to them to pass a value of which radio value it represents. Then you can use the script parameter in your script.

Posted

Note :D

Another possibility is to define a calculation field that makes a decision on the input of your radiobutton field. I know it's not so flexible as a script but for me preferable for ‘well-organized’ reasons.

Posted

Hey Vodka,

I've tried the "clear" button method, but it doesn't work because if it is arranged above the radio buttons, you can't click a button. If it is arranged below the radio buttons, the "clear" button won't be pressed at all... Guess I'll have to go for a plugin. Do I have to put that plug-in just on the server, or on every single workstation that accesses the database?

AVD128 - That sounds like a good idea, but the calculation field will continuously be calculating, right? That's no good for me, because I need the calculation to happen just once at a certain point in time, and then never again unless the radio button is clicked again.

Thanks,

Chris

Posted

Hey Vodka,

I've tried the "clear" button method, but it doesn't work because if it is arranged above the radio buttons, you can't click a button.

You have in incorporate as part of your script a Set field [] to set your field to the script parameter value you passed.

radio_script.zip

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