How do I disallow future dates in CCK date field?


Check out


and look into forms validation. You could check if your date is less than the current date and if not, bzzzzt.

| improve this answer | |
  • sorry, where do i put my codes – joseph_molinas Dec 5 '11 at 8:06
  • you would have to create a custom validation function, it would go in a module or theme depending on how you wanted to do it. – Jimajamma Dec 5 '11 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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