Page 1 of 1

form suspension automatically

Posted: Tue Aug 07, 2007 11:08 am
by archna
I have to suspend the form from registering for christmas holidays say from November 15 to January 4..and later I have to activate the form from January 5th..How do I loop through dates and do it..Or is there any other better way to do it...

Thanks in Advance

Posted: Tue Aug 07, 2007 11:15 am
by thiscatis
Add a line in the form validation where you check if the current date is between start disable and end disable,
Should only be 1,2 lines of code.