HTML popup date picker for input forms

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

    HTML popup date picker for input forms


    I am a web developer building html data entry forms that have a lot of date input fields (month, date, year) on them. I'd like to have a "popup" calendar that allows the user to pick the date using a graphical calendar interface. For example, the popup would show an entire month of dates and allow the user to scroll to different months/years, and finally double click on a date. The popup then closes and the date is returned (probably as a string) to the parent html page. Preferrably, 1) the source code for this popup is available, and 2) it is an Applet written in Java
  • Michael Winter

    #2
    Re: HTML popup date picker for input forms

    On Sun, 04 Apr 2004 21:32:03 GMT, C. Smith <cs31504@hotmai l.com> wrote:
    [color=blue]
    > I am a web developer building html data entry forms that have a lot of
    > date input fields (month, date, year) on them. I'd like to have a
    > "popup" calendar that allows the user to pick the date using a graphical
    > calendar interface. For example, the popup would show an entire month
    > of dates and allow the user to scroll to different months/years, and
    > finally double click on a date. The popup then closes and the date is
    > returned (probably as a string) to the parent html page. Preferrably,
    > 1) the source code for this popup is available, and 2) it is an Applet
    > written in Java[/color]

    If you want an applet written in Java, why are you posting to a JavaScript
    group?

    Mike

    --
    Michael Winter
    M.Winter@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)

    Comment

    • Matt Kruse

      #3
      Re: HTML popup date picker for input forms

      "C. Smith" <cs31504@hotmai l.com> wrote:[color=blue]
      >I am a web developer building html data entry forms that have a lot of date
      >input fields (month, date, year) on them. I'd like to have a "popup"[/color]
      calendar[color=blue]
      >that allows the user to pick the date using a graphical calendar interface.[/color]

      Assuming you actually want a javascript solution, not a java solution (they
      aren't the same thing) then you can find mine at


      There are plenty of others out there - some are really bad and should be
      avoided, some are very ingenious. It all depends on exactly what you're
      looking for :)

      --
      Matt Kruse
      Javascript Toolbox: http://www.mattkruse.com/javascript/


      Comment

      • Dr John Stockton

        #4
        Re: HTML popup date picker for input forms

        JRS: In article <n9%bc.12089$s3 4.6309@nwrddc01 .gnilink.net>, seen in
        news:comp.lang. javascript, C. Smith <cs31504@hotmai l.com> posted at Sun,
        4 Apr 2004 21:32:03 :

        Please set a margin of about 72 characters when posting; it is the
        Usenet norm.

        [color=blue]
        >I am a web developer building html data entry forms that have a lot of date
        >input fields (month, date, year) on them.[/color]

        Obviously a foreigner. Most countries use Y M D or D M Y; Y M D is an
        International, and even Federal, standard.
        [color=blue]
        > I'd like to have a "popup" calendar
        >that allows the user to pick the date using a graphical calendar interface. For
        >example, the popup would show an entire month of dates and allow the user to
        >scroll to different months/years, and finally double click on a date. The popup
        >then closes and the date is returned (probably as a string) to the parent html
        >page.[/color]

        It sounds very slow and tiresome to use in comparison with just typing
        the date as YYYY-MM-DD or YYYY<tab>MM<tab >DD.

        [color=blue]
        > Preferrably, 1) the source code for this popup is available, and 2) it is
        >an Applet written in Java[/color]

        Ideally, a Web developer would understand the difference between Java
        and Javascript; and have a spelling-checker.

        --
        © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
        <URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang. javascript
        <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
        <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

        Comment

        • Matt Kruse

          #5
          Re: HTML popup date picker for input forms

          "Dr John Stockton" <spam@merlyn.de mon.co.uk> wrote:[color=blue]
          > Obviously a foreigner. Most countries use Y M D or D M Y; Y M D is an
          > International, and even Federal, standard.[/color]

          Who cares what most countries use?
          Was the poster asking for advice about date formats? I didn't think so.
          [color=blue]
          > It sounds very slow and tiresome to use in comparison with just typing
          > the date as YYYY-MM-DD or YYYY<tab>MM<tab >DD.[/color]

          Slow and tiresome for you, maybe. Others like to pick a date without having
          to take their hands off the mouse to use the keyboard.
          [color=blue]
          > Ideally, a Web developer would understand the difference between Java
          > and Javascript; and have a spelling-checker.[/color]

          Ideally, posters to this group shouldn't be condescending assholes, either,
          but that doesn't stop you!

          Have a nice day!

          --
          Matt Kruse
          Javascript Toolbox: http://www.mattkruse.com/javascript/



          Comment

          • Chris Gutierrez

            #6
            Re: HTML popup date picker for input forms

            "Matt Kruse" <newsgroups@mat tkruse.com> wrote in message[color=blue][color=green]
            > > Ideally, a Web developer would understand the difference between Java
            > > and Javascript; and have a spelling-checker.[/color]
            >
            > Ideally, posters to this group shouldn't be condescending assholes, either,
            > but that doesn't stop you![/color]

            I totally agree.

            Incidentally, I just stumbled on this discussion, thanks Matt for your
            most excellent Javascript Calendar. I'm using it here at work and I
            must say it's fantastic. It's about to save me a lot of time and help
            me make a deadline.

            Cheers,

            Chris Gutierrez
            email: gcgutier (at) hotmail (dot) com

            Comment

            Working...