Skip to main content
Nintex Community Menu Bar

calculate dates in responsive forms

  • June 13, 2018
  • 3 replies
  • 35 views

Forum|alt.badge.img+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

Forum|alt.badge.img+14
  • Scholar
  • June 13, 2018

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.


Forum|alt.badge.img+4
  • Author
  • July 3, 2018

   I have meant to validate it, possible using a rule


Forum|alt.badge.img+14
  • Scholar
  • July 3, 2018

then validation rule with formula like follows should work

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