Title: Date validation/restriction

I'm pretty new to castor and schemas so this may be a naive question but here it is anyway :)

Is there a way to validate a dateTime such that it is between a restricted range base on the current date?? 

For example, I would like to validate that a dateTime element is in the range:
        (currentDate-7days)<currentDate<(currentDate+7days)

Is this possible using a schema and does castor support this??

thanks in advance,
-mike

Reply via email to