Hi Jason
Thanks for the reply - but I've now tried that and there's no change! I've tried inserting the datepicker script in all places around the suggested area, same problem; the datepicker drop-down still only displays in the first date column.
I've rebuilt the form from scratch and same result.
<form id="fmMulti">
<table width="100%" cellpadding="2" cellspacing="0">
<?php
// RepeatSelectionCounter_1 Begin Loop
$RepeatSelectionCounter_1_IterationsRemaining = $RepeatSelectionCounter_1_Iterations;
while($RepeatSelectionCounter_1_IterationsRemaining--){
if($RepeatSelectionCounterBasedLooping_1 || $row_None){
?>
<tr>
<td width="95" valign="top"></td>
<td width="95" height="44" valign="top">Date:</td>
<script type="text/javascript">
$(function(){
$('#datepicker_1').datepicker({
dateFormat: 'yy-mm-dd',
showAnim: 'show',
onClose: closeDatePicker_datepicker_1
});
});
function closeDatePicker_datepicker_1() {
var tElm = $('#datepicker_1');
if (typeof datepicker_1_Spry != null && typeof datepicker_1_Spry != "undefined") {
datepicker_1_Spry.validate();
}
var docElm = document.getElementById("datepicker_1");
var tBlur = docElm.getAttribute("onBlur");
if (!tBlur) tBlur = docElm.getAttribute("onblur");
if (!tBlur) tBlur = docElm.getAttribute("ONBLUR");
if (tBlur) {
tBlur = tBlur.replace(/\bthis\b/g, "docElm");
eval(tBlur);
}
}
</script>
<td width="127" valign="top"><input id="datepicker_1" name="StDate" type="text" /></td>
<td width="44" valign="top"><label for="PgTitle">Title:</label></td>
<td width="379" valign="top"><input type="text" name="PgTitle" id="PgTitle" value="<?php echo $_GET['DefTitle']; ?>" size="50" /></td>
</tr>
<tr>
<td valign="top"> </td>
<td valign="top"><label for="PgBriefDetails_">Brief Details:</label></td>
<td colspan="3" valign="top"><textarea name="PgBriefDetails" id="PgBriefDetails" cols="70" rows="2"><?php echo $_GET['DefBrDesc']; ?></textarea>
<input name="PgTypeID" type="hidden" id="PgTypeID" value="<?php echo $_GET['PgTypeID']; ?>" /></td>
</tr>
<?php
} // RepeatSelectionCounter_1 Begin Alternate Content
else{
?><?php } // RepeatSelectionCounter_1 End Alternate Content
if(!$RepeatSelectionCounterBasedLooping_1 && $RepeatSelectionCounter_1_IterationsRemaining != 0){
if(!$row_None && $RepeatSelectionCounter_1_Iterations == -1){$RepeatSelectionCounter_1_IterationsRemaining = 0;}
$row_None = mysql_fetch_assoc($None);
}
$RepeatSelectionCounter_1++;
} // RepeatSelectionCounter_1 End Loop
?>
</table>
<input name="btAddMulti" type="submit" id="btAddMulti" value="add multiple meetings/events" /></form>
Cheers
Chris