Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
If you use 'sessionstate' dataset, then the databindings you can use are different. In that case you can bind directly to "sessiontype" binding, which returns "Practice", "Qualification", "Warmup" or "Race".

If you bind to that, your "value" in the script will be a string and you can directly compare if it equals Race:
if (value == "Race")