I have Datepicker in Infopath 2013 where I need to put validation in such a way that user should select only Future Months Date. Past month dates and current month dates should not be selected. Any idea how to put Validation on Date Picker.

I tried like below : In My Rules under Validation I have given condition like

if DatePicker < today() then in Screen tip it will show "Please select Future month"

But this code allows me to select the current month date also. Can any one suggest how to restrict the selection of current month dates.

1 Answer 1


DatePicker <= today() (use an equal sign)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.