Jump to content

Activate Script upon field entry


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

Recommended Posts

  • Newbies

My goal is to activate a script when I check a checkbox. How can I do this?

Also, I have a value list that is built from values of a field in another file. Is there anyway to omit certain values from the list without deleting the record in the related file?

Thanks!

Link to comment
Share on other sites

You can attach scripts to fields just as you can to buttons. Create the script you wish and attach it to the checkbox so that when they click on the checkbox, it activates the script.

As for your second question. Here's one way you could do it. Create a binary field in the file that your value list generates from. Set those you want in the value list to "1" and those you don't to "0". Create a Calculated field that is blank if the binary field is "0" and equal to the value list field if "1". Now base the value list on the Calculated field instead.

Link to comment
Share on other sites

This topic is 7151 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
 Share

×
×
  • Create New...

Important Information

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