validating and retaining datepicker value
Hey Ray
Have a datepicker on an insert page and trying to retain the value if other elements fail validation.
This one starts with a blank datepicker field but once selected retains the selected date
<?php echo(ValidatedField("contentinsert","NextCare")) ?>
This one shows todays date on page load but if the date is changed to something else it reverts back to todays date
<?php echo((isset($_GET["invalid"])?ValidatedField("contentinsert","NextCare"):date("d-m-Y")).""); ?>
Ideally I am trying to get the latter to work and retain the selected date
Cheers
Jamie