[thelist] Logic help - plz

Richard Harb rharb at earthling.net
Thu Feb 3 08:30:03 CST 2005


What about having radio boxes in your form identifying which date to choose.
You could then switch() based on the return value of the radio elements.

Richard


-----Original Message-----
From: Brian Delaney
Sent: Thursday, February 3, 2005, 2:15:05 PM
> I have a form that a user will use to create their own data results.

> The first option is to select a date criteria; Quarter, Month,  Start 
> date - End Date
>  (if they enter a date in start only then a report will be generated 
> based on that day)
> So there are 5 different possible date criteria. Quarter and Month are 
> drop-down lists and the Start and End are text boxes.

> How would the app guru's suggest I approach the logic to determine a 
> date options has been entered and only one option is chosen?
> Also should I use javascript, ASP or a SQL 2000 Stored Proc? .NET/SQL 
> 2000 on Win2K

> Obviously I will alert if they chose more then "one" date criteria or 
> "no" criteria is chosen. Once the date part is passed I will move on to 
> the rest
> of the form validation.

> Thanks

> BD



> *
> *
> *
> This message, including any attachments, is intended solely for the use of
> the named recipient(s) and may contain confidential and/or priveleged
> information.  Any unauthorized review, use, disclosure or distribution of this
> communication(s) is expressly prohibited.  If you are not the intended
> recipient, please contact the sender by reply e-mail and destroy any and all
> copies of the original message.



More information about the thelist mailing list