calculate dates in responsive forms

  • 13 June 2018
  • 3 replies
  • 15 views

Badge +4

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?


3 replies

Userlevel 5
Badge +14

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.

Badge +4

   I have meant to validate it, possible using a rule

Userlevel 5
Badge +14

then validation rule with formula like follows should work

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

Reply