Set value of a "date" column? I have a dropd...

Set value of a โ€œdateโ€ column?

I have a dropdown of selectable priority periods that inspectors can choose from:

Emergency, 1-3 days, 4-7 days, 30+ days.

In the app I have a โ€œdue byโ€ Date column only available to admin. How can I set the โ€œdue byโ€ column off of the selected priority period?

In other words, if the inspector selects โ€œ1-3 days,โ€ the โ€œdue byโ€ column should show Today plus 3 days.

Possible?..

0 4 339
4 REPLIES 4

You can use an AppFormula for that column SWITCH([Period],

โ€œ1-3 daysโ€, TODAY() + 3,

โ€œ4-7 daysโ€, TODAY() + 7,

โ€œ30+ daysโ€, TODAY() + 30)

@praveen In which column should I enter that formula?

The two columns are โ€œPriorityโ€ and โ€œDue By.โ€

The column with the range-of-days for the inspectors is called โ€œPriorityโ€ (Emergency, 1-3 days, etc.)

The admin column is called โ€œDue By.โ€ The โ€œDue Byโ€ column (which is a โ€œdateโ€ column type) is the column where I want the magic to happen. Iโ€™d like for the โ€œDue Byโ€ column to show Todayโ€™s date plus the selected range of days.

Thanks!

Youโ€™d probably add this in the AppFormula for the Due By column

Thank you!!

Top Labels in this Space