0
has the 'styled' function stopped working?
no colours are showing:
let x := 'First Message' + 'Zoom message' + 'Appt Day' + ", " + Appointment;
if 'Appt Date' < today() then
styled(x, color(214, 214, 214), "")
else
if 'Appt Date' like today() and 'Date This Monday' like 'Appt Mon Date' then
styled(x, color(255, 251, 0), "")
else
if 'Appt Date' > today() then
styled(x, color(0, 249, 0), "")
else
styled(x, color(255, 255, 255), "")
end
end
end
1 reply
-
The styled function is working, try it in a function field. Maybe there's a problem with your logic. You have nested if else ends three deep. Try moving to a switch statement.
Content aside
- 17 hrs agoLast active
- 1Replies
- 30Views
-
2
Following