PDA

View Full Version : Pop up calender script question


Tyler
08-09-2002, 12:42 AM
I don't know what to put in the ( ) . the name of my form? FormMail? the instructions say: () references the name of your form then form field in question.

<a href="javascript:show_calendar('document.tstest.timestamp', document.tstest.timestamp.value);">
<img src="cal.gif" width="16" height="16" border="0"></a>

The script site where I got this is: http://javascriptkit.com/script/script2/timestamp.shtml

I'm trying to build a form for information on booking hotels; date, name, e-mail ect. thanks for any help.

Also looking for a part time programer. The pay is good.

Mr J
08-11-2002, 12:03 AM
Post your page so I can see the layout and names of your form etc.

02119
09-14-2005, 04:13 PM
I have the same error ... I'm unable to set the document area

<tr>
<td align=left><font color="#FFFFFF">Date From</font></td>
<td align=left><input type="text" name="From" value=""size="10" maxlength="10" ><a href="javascript:show_calendar('document.SubForm1.From', document.SubForm1.From.value);"><img src="cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp"></td>
</tr>

My form is caaled subform1 and the txt field that it is attached to is " from "

I would be greatful for any help

02119
09-15-2005, 09:02 AM
Sorry I have figured out my error on this....

I had the wrong table name...