Hi,
I'm trying to set a date field based on an answer to an earlier question on my form.
So if the answer to the earlier question is "Yes" then, the date should be set it to 14 days from todays today.
To do this, I perform the following calculation on my date field.
if(${urgent_yesno} = 'Yes',today()+(14*24*60*60*1000),'')
This works great in Desktop but does not work with the Web Forms. Is there something that I'm missing in the syntax? When I use just today() and omit the (14*24*60*60*1000), it sets the date okay. Seems to me it's the asthmatic that's messing up the statement.
I also tried the below. That also works with desktop but not the web form.
if(selected(${urgent_yesno},'Yes'), today() + 14*24*60*60*1000, '')
Wondering if anyone can provide some guidance on this.
Thanks,
Ruchira