Results 1 to 3 of 3

Thread: Entering times in form

  1. #1

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Entering times in form

    I'm creating a time sheet for a client and part of the requirement is to record the start and end times for each day. What would be the best way to get the user to enter the times?

    One thought I had was to have 2 drop down boxes, one for all the hours of the day and another containing 0 to 59 (minutes in an hour). This way the information will always be in a format I can use to calculate the total hours per day.

    Does anyone else have any other suggestions on how to get the user to enter/select times?

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Entering times in form

    You can use <input type="time"> for HTML5 clients. Otherwise, there are some JavaScript suggestions referenced in that article you could try.

  3. #3

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: Entering times in form

    Thanks Pengate, I'll check out the link.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width