eyalseg
Novice

calculate dates in responsive forms

I want to enable any future date in rage of today to  "today + 100 days".

How can I configure a calculation of date in the control?

0 Kudos
Reply
3 Replies
emha
Collaborator

Re: calculate dates in responsive forms

do you mean to limit date picker control not to allow select more then 100 days ahead, or do you mean to limit result of formula of date calculation in calculated value control?

sadly, first one is not possible in responsive forms.

Reply
eyalseg
Novice

Re: calculate dates in responsive forms

   I have meant to validate it, possible using a rule

0 Kudos
Reply
emha
Collaborator

Re: calculate dates in responsive forms

then validation rule with formula like follows should work

dateDiffDays({Common:CurrentDate},DateControl) >100 && 
convertToDate(DateControl) > convertToDate({Common:CurrentDate})
0 Kudos
Reply