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

Time Fields help

LEGEND ,
Jun 02, 2006 Jun 02, 2006
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
203
Translate
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
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
>
>


Translate
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
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
> >
> >
>
>


Translate
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