Expression Help

Hello!

I have a dropdown with two options… lets call them Option A & Option B.

I have a thing that contains a date field.

How can i set an expression that when the “date field” is in less than 30 days from current date, it does one of two things, whichever is easier:

  1. Locks the dropdown value to “Option A”
  2. Disables the dropdown and maintains the default value.

I’ve been playing with the expression on the “conditional” tab but cant figure it out. Thank you!

Hi :slight_smile:

Try this condition:

When Thing’s date +(days) 30 > current date, then:

  • This input is disabled
  • Default value = option A
1 Like

Worked like a charm!! Thank you @romanmg!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.