rjbutterworth
03-25-2006, 02:27 AM
Loved the Calendar script - set it up and it seemed to work fine. I'm using CGIemail (with a text file resident on my server, so the form reads
<FORM name=test action=http://www.domainname.com/cgi-bin/cgiemail/calendar.txt method=post><script>DateInput('orderdate', true, 'DD-MON-YYYY')</script><INPUT type=image src="submit.gif" value="Send e-mail"></form>
It works - I get a success message and an email arrives fine... BUT! No matter what I set the sate to using the calendar, the date always comes through on the form as today's date. Doesn't matter what date you set (even though on the web page the selector appears to be working fine). I'm obviously missing something, so anyone's help would be really appreciated. Sorry to be a pleb :o
<FORM name=test action=http://www.domainname.com/cgi-bin/cgiemail/calendar.txt method=post><script>DateInput('orderdate', true, 'DD-MON-YYYY')</script><INPUT type=image src="submit.gif" value="Send e-mail"></form>
It works - I get a success message and an email arrives fine... BUT! No matter what I set the sate to using the calendar, the date always comes through on the form as today's date. Doesn't matter what date you set (even though on the web page the selector appears to be working fine). I'm obviously missing something, so anyone's help would be really appreciated. Sorry to be a pleb :o