Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Time Fields help

LEGEND ,
Jun 02, 2006 Jun 02, 2006

Copy link to clipboard

Copied

Hi all,

I have a time field that starts at 00:00 through to 23:59 problem is the
list is too long. I would like to have 2 dropdown fields HOURS & MINUTES
that join together when the form is submitted and enters the time into the
SQL db.

Any help would be appreciated.

Regards
Simon


TOPICS
Server side applications

Views

202
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 02, 2006 Jun 02, 2006

Copy link to clipboard

Copied

If you're using ASP:

<%Request.Form("lstHours")%>:<%Request.Form("lstMinutes")%>

This just does a quick concatenation. I tend to throw this into a hidden
field and then use that value to do the insert.

Pat.


"Simon Gare" <sg@simongare.com> wrote in message
news:e5p117$54t$1@forums.macromedia.com...
> Hi all,
>
> I have a time field that starts at 00:00 through to 23:59 problem is the
> list is too long. I would like to have 2 dropdown fields HOURS & MINUTES
> that join together when the form is submitted and enters the time into the
> SQL db.
>
> Any help would be appreciated.
>
> Regards
> Simon
>
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 02, 2006 Jun 02, 2006

Copy link to clipboard

Copied

LATEST
Thanks Pat

Regards
Simon

"PAT SHAW" <pat@nomail.com> wrote in message
news:e5p69a$bbo$1@forums.macromedia.com...
> If you're using ASP:
>
> <%Request.Form("lstHours")%>:<%Request.Form("lstMinutes")%>
>
> This just does a quick concatenation. I tend to throw this into a hidden
> field and then use that value to do the insert.
>
> Pat.
>
>
> "Simon Gare" <sg@simongare.com> wrote in message
> news:e5p117$54t$1@forums.macromedia.com...
> > Hi all,
> >
> > I have a time field that starts at 00:00 through to 23:59 problem is the
> > list is too long. I would like to have 2 dropdown fields HOURS & MINUTES
> > that join together when the form is submitted and enters the time into
the
> > SQL db.
> >
> > Any help would be appreciated.
> >
> > Regards
> > Simon
> >
> >
>
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines