I am working on a responsive form for summer interns to fill out and I would only like them to be able to pick dates between June 15th and August 15th. I am new to Nintex and am not sure how to accomplish this. I assume it is under Use Range Validation within the Date/Time control, but I am not sure how to setup the formula. Thanks.
@Michelle_MOE .....Do you want the calendar to display your date range only or you want to put a validation to check if the date entered is between your desired dates?
If it's the first option then I guess JavaScript will be the only option but then you need to switch to classic form since responsive don't support JavaScript.
If it's the second option then you can use a hidden calculated control to check the date using If statement and based on true or false apply a validation rule on your date control.
@Michelle_MOE I would just use the range validation, it will not stop them trying to enter but it will stop them submitting and give them a validation message. You can just hardcode the range like below.
This form will be used every year, so I can't hard code it in with the current year. Any suggestions?
I guess I would need to use the second option. Can you give me a screenshot to show me what that would look like? Thanks.
@Michelle_MOE If you are unable to hardcode the date, then you will most likely need to use the formula builder(https://help.nintex.com/en-US/nintex2016/4.5.1/#sp2016/Forms/Designer/FormulaBuilder.htm%3FTocPath%3...) in a rule to validate. As an example, the below formula uses the year from the current date to build a date and checks if the date field is greater than the current control. This could be duplicated in a 'lessthan' function and combined with the 'and' function to check against both dates.