Skip to main content
Nintex Community Menu Bar

calculate dates in responsive forms

  • Jun 13, 2018 8:03 AM UTC
  • 3 replies
  • 45 views
  • Translate All

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
  • Jun 13, 2018 6:46 PM UTC

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.

Translate

Forum|alt.badge.img+4
  • Author
  • Jul 3, 2018 8:28 AM UTC

   I have meant to validate it, possible using a rule

Translate

Forum|alt.badge.img+14
  • Scholar
  • Jul 3, 2018 11:36 AM UTC

then validation rule with formula like follows should work

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