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.

Code:
<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>

...

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

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.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/