Specify time?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zz12

    Specify time?

    Hello. Would anyone know if there is an easy and clean way of presenting
    maybe a time control field in html in an .asp page that allows a user to
    specify a certain time of the day? Currently using an <input
    name="SpecifyTi me" type="Text"fiel d but was wondering if there was a
    better way of doing this as to where users won't mistype in entering non
    time related characters? Thanks in advance.


  • Bob Barrows [MVP]

    #2
    Re: Specify time?

    zz12 wrote:
    Hello. Would anyone know if there is an easy and clean way of
    presenting maybe a time control field in html in an .asp page that
    allows a user to specify a certain time of the day? Currently using
    an <input name="SpecifyTi me" type="Text"fiel d but was wondering if
    there was a better way of doing this as to where users won't mistype
    in entering non time related characters? Thanks in advance.
    Not really an ASP question (see here for some html groups:
    http://groups.google.com/groups/dir?sel=33584039), but there's any
    number of ways to accomplish this. Usually dropdowns are used: either
    paired for hours and minutes, or a single one containing only the times
    you wish to be selected (for example, if you only wish times on the hour
    and the half hour to be available)

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Comment

    • zz12

      #3
      Re: Specify time?

      Sorry about that. I guess I was overthinking this one as I used 3 html drop
      down select controls (hr- min- am/pm) and then concatenated them to create a
      time.

      Thanks for your speedy reply anyways. Take care.


      "Bob Barrows [MVP]" <reb01501@NOyah oo.SPAMcomwrote in message
      news:%23yOjfCZ9 HHA.3940@TK2MSF TNGP05.phx.gbl. ..
      zz12 wrote:
      >Hello. Would anyone know if there is an easy and clean way of
      >presenting maybe a time control field in html in an .asp page that
      >allows a user to specify a certain time of the day? Currently using
      >an <input name="SpecifyTi me" type="Text"fiel d but was wondering if
      >there was a better way of doing this as to where users won't mistype
      >in entering non time related characters? Thanks in advance.
      >
      Not really an ASP question (see here for some html groups:
      http://groups.google.com/groups/dir?sel=33584039), but there's any
      number of ways to accomplish this. Usually dropdowns are used: either
      paired for hours and minutes, or a single one containing only the times
      you wish to be selected (for example, if you only wish times on the hour
      and the half hour to be available)
      >
      --
      Microsoft MVP -- ASP/ASP.NET
      Please reply to the newsgroup. The email account listed in my From
      header is my spam trap, so I don't check it very often. You will get a
      quicker response by posting to the newsgroup.
      >
      >

      Comment

      Working...