Board Logo

No Target Control Specified
MsJones0600 - 11/18/2008 at 03:17 PM

Getting pop up that says:
No Target Control Specified after hitting form "submit" button for form that contains calendar.

<input type="Text" name="*Date" value="" size="15">
<a href="javascript:cal5.popup();"><img src="images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date"></a>


<script language="JavaScript">
var cal5 = new calendar2(document.forms['TellUs'].elements['*Date']);
cal5.year_scroll = true;
cal5.time_comp = false;

What am I missing?

tigra - 11/18/2008 at 11:46 PM

Make sure form is named "TellUs" and it's unique. Try the input name without *. Make sure its name is unique too.

Back to forum: