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

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

Recommended Posts

  • Newbies
Posted

I have a checkbox and a 3 radio buttons. I want to create a script that depending if the checkbox is marked or not and the radio button selection a different script is run.

Posted

Scripts will only run in a few contexts

Opening a document

Closing a document

Clicking a button

Choosing a script from the script menu.

So, to do what you are asking you must present the checkbox/radio buttons to the user, allow then to make a selection. Then have them click a button that runs a script that decides based on the values in the check boxes /radio buttons to run another script.

Posted

spragueg is right about running the script. it either needs to be run manually from the scripts menu or attached to a button. however, pretty much anything can be a button, including the check box. In layout mode, right click it and select specify button... in there you can say what script you want to run.

Remeber that a button or a checkbox is just a field... the value of the box(es) or the radio button is what goes in the field. Thusly you can use the IF/ELSE logic in scriptmaker to use the settings of radio buttons to control the flow of the script.

Hope this helps.

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