Set datechooser "event" based on "if"

146 views Asked by At

I have a dateChooser in an app I'm working on; the app is to submit time cards.

I'm trying to figure out a way to set a color based on number of hours submitted -- i.e. red for less than 8, green for 8 exactly, yellow for more than 8. I already have the number of hours for that day being pulled from quick base as a number. Is there anyway set it to something like

if (hoursDateSelected <= 7){
   calendar.something = green
}
1

There are 1 answers

0
Dom On

This might be what you are looking for:

Flex 4 DateChooser

Basically it is extending the component.