Jump to content

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

Recommended Posts

Posted

I have a script to determine whether or not a person is a teen at the time of a specific event:

teenAtTheTime, calculation, numeric result

Case ( ageAtTheTime>12.99 and ( ageAtTheTime ) <20 ; "1"; "0" )

I placed the field on my layout page and formatted the field as a check box, boolean = 1

How do I get the checkbox to be checked automatically if the condition is true? The way I currently have this set up nothing is checked when the condition is true.

Posted

I tried what you have and it seems to work perfectly for me.

I created 2 fields. teenatthetime with your calculation and is a checkbox with the only value in the value list being 1

and ageatthetime number field so I can enter the age.

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