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

Check Box- predefined based on record


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

Recommended Posts

Posted

Hopefully someone can set me straight on this.

I've got a checkbox set for a field, using a value list.

I want to be able to predefine which items are checked off, based on other info from the record (i.e. Province)

In order to do this, do I need to create seperate fields for every check box item rather then using a value list?

Example... Poster types.

Value List:

Poster 1

Poster 2

Poster 3

Poster 4

etc...

If the Province is BC... I want Poster 1 and poster 4 to be checked off.

Thanks,

Scott

Posted

Ssancton,

Just set the field if doing it by script.

If Province = "BC"

Set Field [checkbox; Poster 1 ¶ Poster 4 ]

EndIf

If you want to do it by a value in field, then in your field that uses value list as checkboxes...

Create a calculated value.

Case ( Province="BC" ;"Poster 1 ¶ Poster 4";Province="QB" ; "Poster 3"; Poster 4 )

Make sure 'Do not replace value...' is unselected.

Posted

Thanks Mr_Vodka,

Works great. The only issue I have is when it gets more complex, i.e. having to overwrite a previous Case based on other variables(Using the non-scripted version).

I'll play with it as time goes on though, you helped me get much closer.

Thanks again.

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