Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Sebastian Fischbach
  2. F2C submission form templating
  3. Monday, 10 June 2019
  4.  Subscribe via email
Hello everyone!

I have a question regarding the date format in date fields. I understand that I can modify the field's output through Smarty into any desired date format. However, this doesn't apply in the submission form template. In the F2C global configuration I can choose between three date formats, but none of the equals "DD.MM.YYYY" which I require. Consequently, when I pick a date in the submission form, it is formatted with dashes instead of dots. Is there any way to change date format in the submission form (aside from chosing between the three options in the global configuration)?

On a side note: the date input field should be formatted as type="date" instead of "text" to enable matching controls on mobile devices - this would also eliminate the need for the selfmade date-picker in modern browsers. (see for example

Best regards,
Responses (3)
Accepted Answer Pending Moderation
Hi Sebastian,

Thanks for your feedback. I will ask Julien to have a look as this is beyond my knowledge to be able to change.

Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Hello Sebastian,

The reason we don't use a html5 date picker (yet), is because we want to stick as close as possible to the regular Joomla controls. Our date picker is a modification based on the Joomla date picker that you can find in the back-end.

Currently we don't support the dot as a date separator yet. For that we need to modify our client and server side processing functions. I know that the dot is a common separator in the German language.

I will have to take a look to see if that's possible, but it's not something I can fix on short terms, because we're now very busy preparing for J4!

Accepted Answer Pending Moderation
Hey Patrick, hey Julien,

thanks for your explanation! I'm looking forward to switch to dots once the J4 migration ist done! Until then my website's visitors will hopefully manage to deal with dashes. ;) Thanks for your work!

Best regards,
  • Page :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.