Hi there
I thought this is easy :) I have a form with these fields
lengthDays --> Numeric
durationDate --> DateTime Interval
a rule to perform the following
durationDate.endDate=([entry.durationDate.startDate.add(86400000*[entry.lengthDays])])
however for some reason the endDate of durationDate doesn't get populated, not sure why. I am sure its something silly, it works if I change the duration date into 2 fields ( start and end date)
am I loosing it :) please help, thanks
Hi @Markisio
This is one field with start and end dates and expects the value format as this: startDateTimestamp-endDateTimestamp, so you do this as follows
durationDate=[entry.durationDate.startDate]-[entry.durationDate.startDate.add(86400000*[entry.lengthDays])]
Alex
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.