By editing a record with the erditor the datefields are empty
By editing a record with the erditor the datefields are empty
Good morning,
i have a table with 2 date fields. If i create a new record all is o.k.and the database has saved the dates.![]
If i wan´t to update with editor form the date fields are empty. Can you help was is wrong? (the used extension for kundenurlaub is phtml)..
Thanks for your help
Dirk
This discussion has been closed.
Answers
In the Javascript you are using:
For date inputs, I would suggest you use the
datetime
field type rather thandate
. The single exception to that is if you already have jQuery UI date picker on your page (I'm not sure if that is the case or not here).In your PHP you have:
Two things here:
setFormatter
which there should be unless you use ISO8601 everywhere.Allan
Hi Allan,
thank you very much. Now it works how i want