PDA

View Full Version : run two form inputs of jasons input calendar



rich1234
11-29-2007, 03:51 PM
Jason's Date Input Calendar
http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm

Hi, I have set up two instances of this in a form.

<tr>
<th height="17"></th>
<td width="253" height="17">
<script>DateInput('todaydate', true, 'DD-MON-YYYY')</script>
</td>
</tr>

<tr>
<th height="17"></th>
<td width="253" height="17">
<script>DateInput('todaydate', true, 'DD-MON-YYYY')</script>
</td>
</tr>

The second one doesnt work independantly but modifys the date in the first. How do I set up two to work, for example, one for a date starting and a date finishing an event?

Also do I have to add a name to the field to pass the info with the form?
Thanks for any expert help.
Richard