Jump to content

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

Recommended Posts

Posted

I have a field that contains many different checkboxes , each of which represents a geographic area. Also, there are three checkboxes in which I would like to automatically fill in several checkboxes with cheking one of the three boxes. For example: If check box "All city except for 2nd street", then it would auto select checkboxes 4-12 but leave out checkbox 13. Another autoselect box would say "select all college areas" which would select boxes 4,5,6,7 and 8. Understand?

Can I do that within the same field? This is my first large account, so I am newbie stage and making money at it! Heheh. But I will be attending the conference in LA and hopefully joining the alliance within the year. Thanks for the help! Hopefully I can contribute some back soon!

Posted

Checkboxes and Radio Buttons are just display options for standard text fields. When you check multiple items, what is really entered into the field is the text associated with each checkbox option separated by a carriage return. Checking "dog", "cat", and "rat" causes the field to contain:

dog<cr>

cat<cr>

rat

They appear in the order in which you check the boxes. If you want the action of clicking on a checkbox to perform some action other than just adding that item to the field, you need to put a clear button over the checkbox item and tie it to a script. Say you wanted to click "dog", "cat" and "rat" when you click the checkbox value "all animals", but don't really want to select the "all animals" item. Cover the "all animals" option with a clear button tied to the script:

SetField(Animals, "dog" & "

Posted

it sounds like you are making a rod to beat yourself with...

Why not make the "all city except 2nd" into a button that runs a script that enters the appropriate value (a simple Set step).

You can then make several of these 'shortcut' buttons, and they won't affect the check boxes if they need changing later.

If you *really* want you could even make these buttons look like check boxes!

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