Date limitation

I have defined date filed, and I need to limit number of months (days) that user can choose. For example I need limitation for next three months (user cannot pick any other date which is not in this range).

Thanks a lot for tips and solutions

Subject: date limitation

One way of doing this would be to use the @Adjust formula in the fields input validation event. The following example will fail validation if the date selected is a date in the past or greater than 3 months from todays date.

@if(FIELDNAME < @Today | @Adjust(FIELDNAME; 0; -3; 0; 0; 0; 0) > @Today; @Failure(“MESSAGE”); @Success);

Subject: date limitation

thx a lot for idea, I solved the problem…