Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Problem with date format 8:00 25 Jul 2016 15:09 #14325

There is another problem when using the Time Field that may cause some annoyance with end users.

Once a Time field is entered, the user cannot delete it (or Null it). If the user tries to delete the Time - the system ignores them.

In my component, the time field is not mandatory. But once a user mistakenly enters a time field - they are stuck with it.

Another issue: for a new form, if the user enters in "8:00" instead of "08:00" - what gets stored is "00:00".

So is it possible to allow Null fields?
And is it possible to covert anything that resembles "8:00" or "8am" to "08:00" (ie: something like the php function strtotime) ?
Cheers
Just call me Chris :)

Please Log in or Create an account to join the conversation.

Last edit: by organicwebs.
  • Page:
  • 1
Time to create page: 0.063 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started