Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #3
    New to the CF scene
    Join Date
    Jun 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    uh.. Dave, she asked about doing #2 without a database...

    ~Quack


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •