<select name = "hours">
<option value="3600">1
<option value="7200"2
</select>
<select name = "minutes">
<option value="60">1
<option value="120">2
</select>
then just add up
<cfset taskTimeAlloted = hours + minutes>
:) tony
-----Original Message-----
From: Jeff Small [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 2:30 PM
To: CF-Talk
Subject: Re: Quick Question, RE: Datatype and future date/time calculation
> Totally, you've been a terrific help. I hope this helped others as
> much as it helped me.
Oh yeah, one more thing, regarding how *they've* decided *they* want the
interface, which is sort of dictating my database design...I have no problem
with it, I just want to make sure it's "do-able"...
Let's say I wanted to make time entry really easy for them. Say they
requested a dropdown with hours and minutes. So, if you can picture it, the
form might look something like this:
Time Allocated: Hours (dropdown...0,1,2,3,4..., 24) - Minutes
(dropdown...00, 15, 30, 45 fifteen minute increments only)
And the time was hardcoded on the dropdowns (or dynamically generated,
doesn't matter)...so on the form I'd be submitting '#form.hoursAllocated#
#form.minutesAllocated#' and somehow generating an integer from that? Does
that make sense and can it be done easily?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

