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

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

Recommended Posts

Posted

I have a super simple script that I just don't see why it's not working 100%.

My script is:

If ["Start_Date" = Today]

Go to Layout [Refresh Window, "Warning -- Same Day Request']

Else

Go to Layout [Refresh Window, "Reservation -- When and Where"]

End If

OK, so it works properly when the statement is TRUE, but it doesn't work when it's FALSE (when the Start_Date field is set to a date after today.

I'm sure it's something super simple, but I am just too dang dumb to figure this one out.

Posted

Today works fine in scripts. It is only in calculation fields where it does not update. However, you would do better to use Status(CurrentDate) since Today is not supported beyond version 6. You should also remove the quotes around Start_Date; though it does not make sense why it has been working when you are testing the text "Start_Date" instead of the value of Start_Date.

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