# Share your Form class

**URL:** <https://forum.kirupa.com/t/share-your-form-class/300362>\
**Category:** programming\
**Created:** [November 19, 2009, 7:46pm UTC](https://forum.kirupa.com/t/share-your-form-class/300362 "2009-11-19T19:46:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![imagined](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@imagined](https://forum.kirupa.com/u/imagined)\
**Post date:** [November 19, 2009, 7:46pm UTC](https://forum.kirupa.com/t/share-your-form-class/300362/1 "2009-11-19T19:46:30Z")

</div>

Hey guys! I’m writing a Form class with validation. I like what I’m doing but I think it can be improved. I’m hardly satisfied with what I do.

For example, the date field accepts from a drop-down menu the day, month and year. Now if you enter February 31, 2010 (invalid date) it will ask you to enter a valid date, but I know I can improve this with javascript, if a user selects February, only let him choose up to 28 or 29 days. But I would also like to add a little calendar select day things, just like when you are making a flight or hotel reservation. I guess I can do that with jQuery but I’m waiting for the book to arrive (Nov 28). Is there any solution you recommend? :dilbert:

What do you use as a Form class? Do you use any that you downloaded from the internet?
