Troubles with a simple Contact Me form

  • Thread starter Robert R Kircher, Jr.
  • Start date
R

Robert R Kircher, Jr.

I hope someone can help me with what I though should be a simple task.

I'm trying to create a simple contact me form where the view will enter his
name, email address, and a comment and then click Send to have the data sent
to an email address. One the data is sent I want it to go to a custom
"thankyou" page with a link back to the homepage of my site.

I've created the from using the tools FrontPage and have it working
internally. But when the web page is hit from the outside the custom
thankyou page is slow to load and loads with out styles and images. I
notice that the URL data for the page shows my internal IP address instead
of the proper external address.

The real purpose of this exercise is to have a customizable from used as a
contact method and not have email addresses exposed in the code.

Any help on this would be greatly appreciated.

TIA
 
R

Robert R Kircher, Jr.

Robert R Kircher said:
I hope someone can help me with what I though should be a simple task.

I'm trying to create a simple contact me form where the view will enter
his name, email address, and a comment and then click Send to have the
data sent to an email address. One the data is sent I want it to go to a
custom "thankyou" page with a link back to the homepage of my site.

I've created the from using the tools FrontPage and have it working
internally. But when the web page is hit from the outside the custom
thankyou page is slow to load and loads with out styles and images. I
notice that the URL data for the page shows my internal IP address instead
of the proper external address.

The real purpose of this exercise is to have a customizable from used as a
contact method and not have email addresses exposed in the code.

Any help on this would be greatly appreciated.


One note, everything seems to work fine when I use the default results page
but I'd rather use my custom thank you page.
 
R

Ronx

If you don't want your email address exposed, you will have to change
track and use server side scripting (php, asp, asp.NET etc.) If you use
FrontPage extensions to process the form your email address is exposed
in the HTML - use View Source in a browser to see it.


--
Ron Symonds - Microsoft MVP (Expression)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
R

Robert R Kircher, Jr.

I don't beleive this is true. I just did a veiw source and I dont' see an
emaill address at all.

Frankly, I don't care about using FP extensions as much as I don't want to
have to go through the learning curve and programing time to role my own
solution. I'd settle for a some sample code that I can costomize and place
with in my own page.

--

Rob

Ronx said:
If you don't want your email address exposed, you will have to change
track and use server side scripting (php, asp, asp.NET etc.) If you use
FrontPage extensions to process the form your email address is exposed in
the HTML - use View Source in a browser to see it.


--
Ron Symonds - Microsoft MVP (Expression)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
R

Ronx

Look in the webbot comment. If you have set the form to send to email
using the extensions, you will find:

<form action="--WEBBOT-SELF--" method="post">
<!--webbot bot="SaveResults" S-Email-Address="(e-mail address removed)"
S-Email-Format="TEXT/PRE" -->
<input name="Text1" type="text" />
</form>

Note the email address: S-Email-Address="(e-mail address removed)"

The alternatives are to not use email, learn server side scripting, or
find a ready made script that does not require the email address to be
in a "hidden" field.
--
Ron Symonds - Microsoft MVP (Expression)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp




I don't beleive this is true. I just did a veiw source and I dont' see an
emaill address at all.

Frankly, I don't care about using FP extensions as much as I don't want to
have to go through the learning curve and programing time to role my own
solution. I'd settle for a some sample code that I can costomize and place
with in my own page.
 
R

Ronx

Look in the webbot comment. If you have set the form to send to email
using the extensions, you will find in the browser:

<body>
<form action="_vti_bin/shtml.dll/Untitled_1.htm" method="post"
webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Address="(e-mail address removed)"
S-Email-Format="TEXT/PRE" startspan -->
<input TYPE="hidden" NAME="VTI-GROUP" VALUE="0">
<!--webbot bot="SaveResults" i-checksum="43374" endspan -->
<input name="Text1" type="text" />
</form>
</body>


My previous post was from Expression Web code view - not the same thing.
--
Ron Symonds - Microsoft MVP (Expression)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp




I don't beleive this is true. I just did a veiw source and I dont' see an
emaill address at all.

Frankly, I don't care about using FP extensions as much as I don't want to
have to go through the learning curve and programing time to role my own
solution. I'd settle for a some sample code that I can costomize and place
with in my own page.
 
R

Robert R Kircher, Jr.

But don't you only see that when using FrontPage or expressions? When you
do view source from the browser and load it into notepad you don't see the
webbot comments.

BTW thanks for the reply on the expressions forum. I'm make the move to
expressions now.
 
R

Rob Giordano [MS MVP]

Yes, you do.



--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression






Robert R Kircher said:
But don't you only see that when using FrontPage or expressions? When you
do view source from the browser and load it into notepad you don't see the
webbot comments.

BTW thanks for the reply on the expressions forum. I'm make the move to
expressions now.
 
R

Ronx

It may be possible to remove the webbot comments using Optimise HTML
options, but if you do, the form will not work. The comment contains
instructions for the extensions to follow, for example:
<!--webbot bot="SaveResults" S-Email-Address="(e-mail address removed)"
S-Email-Format="TEXT/PRE" startspan -->
Tells the extensions to format the email respecting carriage returns in
text areas (S-Email-Format="TEXT/PRE") and to send the results in an
email (S-Email-Address="(e-mail address removed)")

Without the comment, the form would not be processed at all - instead an
error message will be displayed when the form is submitted:


Cannot run the FrontPage Server Extensions on this page:
"http://www.example.com/Untitled_2.htm"

--
Ron Symonds - Microsoft MVP (Expression)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp




But don't you only see that when using FrontPage or expressions? When you
do view source from the browser and load it into notepad you don't see the
webbot comments.

BTW thanks for the reply on the expressions forum. I'm make the move to
expressions now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top