Below is a Code Snippet of one of my fields on a form I am building in Dreamweaver. I found a SPRY feature(Dreamweaver Spry Form Widgets) in Dreamweaver that can validate fields. Never knew I can do this from Dreamweaver. Everything works great, and it is validating correctly to make sure it is a date field. However, what changes need to be made to the code below, to make it validate so that (it will not accept dates prior to 3 days or 72 hours into the future).
So for example, today is 09/30/2008, I want to validate so no dates prior to 10/03/2008 are accepatable. Is this possible, is it difficult, how can I make this happen.
Thanks to all of you in advance.
<input name="JobDate" type="text" id="JobDate" size="40">
<span class="textfieldRequiredMsg">A value is required.</span>
<span class="textfieldInvalidFormatMsg">Invalid format.</span>