Eliz309 Posted March 4, 2004 Posted March 4, 2004 I have created a script that will insert a picture in a field depending on the entry into a checkbox field. I need for the user to click on the checkbox and for the checkbox to check (or uncheck)and the script to run. I thought about modifying the script so that it checks the checkbox too, but that doesn't work since I need the script to run based on the entry that is in the checkbox already. I have tried making the checkbox a button, grouping the checkbox and a button but I can't get both actions to occur. Any suggestions on how to get the script to run and check the check box?
Addam Posted March 5, 2004 Posted March 5, 2004 Sounds like to me you need to create a script that will check the check boxes default values. If you create a script that say's something like: If "check box" = "", then set the value to: "something (checked)"; <<< Run the script here that you want to run when it is CHECKED! >>> Else if "check box = "something (checked)", then set the value to: ""; <<< Run the script that you want to run when it is NOT CHECKED (if any). The button that runs this script would sit OVER the check box, as a "Mask". So the user never really checks the "Check Box". They are just clicking on a button that is doing all of the checking. I hope this helps.
Recommended Posts
This topic is 7568 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 accountSign in
Already have an account? Sign in here.
Sign In Now