Link to home
Start Free TrialLog in
Avatar of mksilk
mksilk

asked on

Variable email address

Hi,

I have a simple webpage that was designed in Frontpage. It has a form with a submit button on it. What I want to do is simply to ask the user to type in the email address of who they want to submit this form to for approval. I know that the submit button can send an email to a fixed email address, but how do I get it to pick up the address the user types in and use that?
Avatar of coreybryant
coreybryant
Flag of United States of America image

To my knowledge, Front page does not allow that.  You can use ASP scripts to achieve this.

Corey
ASKER CERTIFIED SOLUTION
Avatar of gator4life
gator4life

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mksilk
mksilk

ASKER

gator4life,

Thanks, that works well, the next question it though, I want it to submit the entries in any text box, check box or radio button that the user has typed. How do I then incorporate that into the form?
Any data that is input into the form can be sent within the email by adding 'enctype="text/plain"' to the <form> tag, like so (builds on my example from above):

<form name="myForm" action="" method="post" enctype="text/plain" onsubmit="SetAction(this)">

gator4life
(chomp, chomp)
I should warn you that this method of sending data will have the form fields' names listed alongside the data within the email.

gator4life
(chomp, chomp)
mksilk -

I thought this might be something you would find interesting:

http://www.webreference.com/js/column70/index.html

Good luck! ;-)

gator4life
(chomp, chomp)
Avatar of mksilk

ASKER

gator4life
Is there any way to format the email at all?
Avatar of mksilk

ASKER

gator4life
Is there any way to format the email at all?
Yes there is, but without using a server-side scripting language, it is going to take a little bit of work.  I could ramble on about how to do it, but it would be easier if you posted the code you are using to capture the user information, and then I could show you how to format it in the way you want.

gator4life
(chomp, chomp)
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

<note>
Unless it is clear to me that the question has been answered I will recommend delete.  It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>

If the user does not know how to close the question, the options are here:
https://www.experts-exchange.com/help/closing.jsp


Cd&

Spent some small amount of time on trying to answer this post...provided a workable solution, but the poster wanted something else and never responded back.  Should at least have gotten a B for my solution, since it did what they wanted.

gator4life
(chomp, chomp)
Avatar of mksilk

ASKER

Sorry guys, forgot...