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.227 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started