True, it's a possibility a user could have JS turned off but it's very very uncommon for it to actually be turned off IME.
I would imagine that the percentage of users who actually do this as a matter of course is tiny (and also bored) "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Greg Morphis To: CF-Talk Sent: Thu Feb 15 19:18:39 2007 Subject: Re: Not sure how to do this I'd watch out using JS.. some people have that turned off... just FYI On 2/15/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > I have a form where the user puts in a time range in a text field (8:00 AM - > 12:00 PM). What I need to do is to make sure that they enter at least a 4 > hour range. I thought of doing two select boxes, the first has the times > from midnight - 11:00 PM, and when they select the first one then the next > one automatically starts at 4 hours out. But I totally suck at JavaScript > and I looked all over the Internet and could not find something. I also > thought of doing two text fields, one called ElectionStart and the other > ElectionEnd (or something like that), but then I am at the mercy of the user > entering in a correctly formatted time (for instance, 8:00 AM) so that does > not seem very viable. > Has anyone ever done anything like this or does anyone have any good ideas > on how to implement this? > > Thanks, > > -- > Bruce Sorge > > "I'm a mawg: half man, half dog. I'm my own best friend!" > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269934 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4