Welcome, Guest
Username: Password: Remember me

TOPIC: [LOW] Problem with date format 8:00

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

  • organicwebs
  • organicwebs's Avatar
  • Offline
  • Premium Member
  • Chris
  • Posts: 133
  • Thank you received: 21
  • Karma: 4
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 :)
Last Edit: 25 Jul 2016 15:10 by organicwebs.
The administrator has disabled public write access.
Time to create page: 0.073 seconds

Get Started