Forums

Date control

jack19 25 Sep, 2015
Hi,
I read this post https://www.chronoengine.com/faqs/70-cfv5/5216-date-control-using-cfv5-date-picker-element.html
but some elements, like this, it does not work
<?php echo date("d-m-Y"); ?>

but if I put a fixed date as 25-09-2015 its' works.
Rgds
jack19 25 Sep, 2015
Hi caculus00 (automated service) 😀 ,
By ChronoForms v5 applies the FAQ that I reported in my post (and also the first link you).
T.V.M.
GreyHead 25 Sep, 2015
Hi Gioacchino,

Please try the JavaScript code in the FAQ - that has worked for me. The code you quoted should work OK but only gets updated when the form is saved in the Admin so isn’t very practical :-(

Bob
jack19 26 Sep, 2015
Hi GreyHead,
As always thank you.
Rgds
This topic is locked and no more replies can be posted.