Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-26-2002, 02:02 AM   PM User | #1
sgrich
New to the CF scene

 
Join Date: Jun 2002
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sgrich is an unknown quantity at this point
Form and ASP questions

I have a few questions and wondering if anyone can help me or point me to the right direction.

I have a form and using ASP will submit the results to an email address:

1. Is there a way that the person can "save" their form info or will they lose it? Either saving it while working on it or after hitting submit?

2. How would you code so the person can choose from a menu the person or persons they wish the results to go to? This would be instead of hardcoding it in the ASP code or having them enter it into a text box. The goal is that they can send it to mulitple people and they can choose the names of the people from a drop down list.

3. Is there a way to allow the user to upload an attacment and then have it submitted with the form results?

I know this is alot but I've searched many websites and can not find this info. Any thoughts would be most helpful. I am not using a database either so I don't know if I would need to.

Thanks
Sarah
sgrich is offline   Reply With Quote
Old 06-26-2002, 03:51 AM   PM User | #2
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
You'll have to use some sort of database, or a TON of cookies (I'd recommend the DB route )

Now, I'll try and point you on your questions...

1) Is there a way that the person can "save" their form info or will they lose it? Either saving it while working on it or after hitting submit?

There could be a way to save all this info, and it'd be to write the info to the database.

2) How would you code so the person can choose from a menu the person or persons they wish the results to go to? This would be instead of hardcoding it in the ASP code or having them enter it into a text box. The goal is that they can send it to mulitple people and they can choose the names of the people from a drop down list.

This will be easy once you have a database of users.

3) Is there a way to allow the user to upload an attacment and then have it submitted with the form results?

Yes there is, this will be the MOST difficult thing to do of the 3


See if you can get yourself started on these things, and if you need some help, feel free to post.

~Quack
QuackHead is offline   Reply With Quote
Old 06-26-2002, 04:12 AM   PM User | #3
sgrich
New to the CF scene

 
Join Date: Jun 2002
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sgrich is an unknown quantity at this point
Thanks.

I thought I would need a database for #1 but is there a way to do #2 without a database? Maybe listing the names as options and then using a variable for what is chosen?
sgrich is offline   Reply With Quote
Old 06-26-2002, 04:14 AM   PM User | #4
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
Yes, you could do that for #2, but you'd have to hard code all the options.

This is alright if you know those options will never change, but I think it'd be much better to do it with a DB.

Just my 2 cents

~Quack
QuackHead is offline   Reply With Quote
Old 06-26-2002, 05:00 AM   PM User | #5
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
uh.. Dave, she asked about doing #2 without a database...

~Quack
QuackHead is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:34 PM.


Advertisement
Log in to turn off these ads.