Can you have 2 forms in Frontpage on the same website example and have one form send info to you via email and then have it goto another page and send more info?
-
-
Answer:
The simple answer is yes! However, there are a few questions that need answered in order to pull this together. You have a single page with 2 forms: <body> <form name="form1"> <input type="button" value="Form 1 button"> </form> <form name="form2"> <input type="button" value="Form 2 button"> </form> </body> So that covers the two forms. Now you want one form to send info via email. Let's pretend there is a page for that, like sendanemail.asp or mailitout.php to handle the sending of the mail. This is assuming that you have some scripting background to send the mail and are not doing a mailto:. Now one of your forms looks like this: <form name="form1" action="mailitout.php" method="post"> <input type="button" value="Form 1 button"> </form> That will take care of posting the form (the method attribute) to mailitout.php (the action attribute). But, wait! There's more! Now you want to have it go to another page and then send more info. Well, if these things are to be automated, and you just sent out the mail, then at the end of your asp or php you can do a response.redirect(asp) or a location=(php) to go to the other page. Having said all that, if you don't have access to the scripting languages, you are probably going to have to settle for a client side mailto: that is very limited, and maybe some javascript to go to the other page. However, this can NOT guarantee the sending of the email because you are relying on the client to do so. The most important question that you need to ask yourself is 'What is the ultimate goal?' 'What am I trying to achieve and is this the best way to do so?'
wiki.answers.com Visit the source
Related Q & A:
- How do you send a pic via email?Best solution by Yahoo! Answers
- How to send pictures via email?Best solution by Yahoo! Answers
- How do I send videos via email?Best solution by Yahoo! Answers
- How can I send pictures via email?Best solution by Yahoo! Answers
- How do I output from one form to another in Visual Basic?Best solution by support.microsoft.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.