How to set minimum date in Date element in form in vFlow?

Suppose, I want to set minimum value for date element in which condition is - minimum date should be 7 days before the current date? What configuration I have to do in vFlow to achieve the same?

26 Likes

To set minimum date, go to the Date Element, properties section. In the Validation section of the Properties mention the Min Date.
To set the minimum date 7 days before the current date use the SETDATE() function.
SETDATE(‘currentdate’,‘subtract’,‘7 day’)

19 Likes

For your reference, check this screenshot

18 Likes