larissahn Posted May 30, 2009 Share Posted May 30, 2009 hi, I created this form. to avoid errors, I'd like the user to select the date from a calendar that pops up. unfortunately, I haven't been able to make it work. http://www.mattkruse.com/javascript/calendarpopup/ var cal1x = new CalendarPopup("testdiv1"); my form: <?php include('../includes/core.php'); layout_start(true); ?> <style type="text/css"> <!-- .Estilo3 {font-size: 12px} --> </style> <table width="599" border="0" cellspacing="4" cellpadding="5"> <tr> <td width="567" height="28" background="../assets/images/section-bkgd_long.gif" class="SectionText">Report lionfish sighting</td> </tr> <tr> <td><p align="justify">Please fill in the form below if you would like to report a lionfish sighting and we will get back to you as soon as possible. </p> <hr size="1" noshade="noshade" /></td> </tr> <tr> <td><form name="LionfishContactForm" method="post" action="sendmail.php"> <table width="100%" border="0"> <tr> <td><div align="left"> <label>Name:</label> </div></td> <td><input name="name" type="text" id="name" size="60" maxlength="30"></td> </tr> <tr> <td><div align="left"> <label>Email:</label> </div></td> <td><input name="email" type="text" id="email" size="60" maxlength="30"></td> </tr> <tr> <td><label>Date:</label> </td> <td><input name="date" type="text" id="date" size="35"></td> </tr> <tr> <td><div align="left"> there are other questions, but it is right here on DATE where I want the calendar. I always appreciate your help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.