I built a form to allow employees enter their hours in a bi-weekly time sheet.
The field Date1 contains 1st day of every month, Date2 contains 2nd and so on.... Date15 contains 15th. I'm setting default value of Date1 to say August 1, 2018 and then setting the values of the succeeding dates using addDays(Date1,1), addDays(Date2,1)..... and for Date16, the value is set to addDays(Date15,1) but I'm hiding this control if this field does not contain 31.
I have a field called Due Date (either 16th day of present month or 1st day of next month) that I'm trying to set based on the below condition:
If Date16 contains "31"
Action -> Set field's value - addDays(Date16,1)
If Date16 does not contain "31"
Action -> Set field's value - addDays(Date15,1)
but the due date is shown blank in my form. How do I get this to work ?
Thanks !