date field range

Anonymous
Not applicable

date field range

I am developing a form that is for a product registration. We are going to be giving a special offer to people who bought their product between a set of dates (like Jan1 and July 1 of this year). I'm asking them to enter the date when they bought their product,a nd if that date isn't between those daate reanges, I would like the form to not submit and pop up a alert box explaining that they aren't elegible.

Has anyone ever done anything like this? Any sample you could point me to? Any help greatly appreciated.
 

Thanks

John

*

Tags (1)
1 REPLY 1
Josh_Hill13
Level 10 - Champion Alumni

Re: date field range

Javascript would probably help you here. Or a jquery call back to your database.