Skip to main content
Inspiring
June 2, 2006
Question

Time Fields help

  • June 2, 2006
  • 2 replies
  • 216 views
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


This topic has been closed for replies.

2 replies

Inspiring
June 2, 2006
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
> >
> >
>
>


Inspiring
June 2, 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
>
>