how do i save form data?

E

elhossan

when i use the feedback tamplets in fp 2003 and save it there is no place to
save the data from the form. it suppose to creat a folder caled _private
which contain a text file called feedback to save the data but that never
happen.

the form i want to use is very simple i just want to know the feed back from
the site visitor. and what do do if i want the data to be sent to my email?
 
T

Thomas A. Rowe

After you have created the form, you need to publish it via FP's File Menu | Publish Site to a
http://www.yourdomainname.com The live/remote server must have the FP extensions installed.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
E

elhossan

first thank for your reply
so the results canot be shown before the form is published
 
T

Thomas A. Rowe

You have to test the form via http://www.yourdomainname.com or locally http://localhost/webname on a
server that has the FP extensions installed.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Trevor L.

elhossan said:
the form i want to use is very simple i just want to know the feed
back from the site visitor. and what do do if i want the data to be
sent to my email?

Do you want the data from the form as an email to you?
If so, try the below

This doesn't need FP extensions. I know as my site doesn't have them and
this works for me


<html>
<head>
<script type="text/javascript">
function testform()
{
// put any tests in here
}
// --------------------
function sendform()
{
with (document.form1)
{
var body = ''
var i = elements.length , j = 0
while (i-- > 2) // drop last two elements
{
body += elements[j].name + ": "
+ elements[j].value
+ '%0d%0a' // line break after each line
j += 1
} // end while
}
window.location = "mailto:" + "name" + "@" + "domain" + ".com"
+ "?subject=Response%20from%20Form"
+ "&body=" + body
}
// --------------------
</script>
</head>
<body>
<form id="form1" name="form1" action="" >
<div style="padding:10px; font:normal 12px Arial; text-align:left;">
<p>
Hi all,<br />
<!-- Add your introductory text here -->
</p>

<p>
Please enter details<br/>
Name:<br/>
<input type="text" name="Name" value="Insert name" size="40" /><br/>

Email:<br/>
<input type="text" name="Email" value="Insert e-mail address"
size="40" /><br/>

<!-- enter other <input> or <textarea> here -->

Enter Comment:<br/>
<textarea name="Comment" rows="10" cols="100">Enter your comment in
here</textarea><br />
</div>

<div align="center">
<input type="button" name="submit" value=" Send "
onmouseover="testform()" onclick="sendform()" />
<input type="reset" name="reset" value=" Clear "/>
</div>
</form>
</body>
</html>
 
E

elhossan

Trover L. thanks for your help but there is still a problem
this mean the sender has to has a mail clint
the server i use has FT extinsions but i still cant do the form
the form URL is http://www.dohavets.com/feed back.html

Trevor L. said:
elhossan said:
the form i want to use is very simple i just want to know the feed
back from the site visitor. and what do do if i want the data to be
sent to my email?

Do you want the data from the form as an email to you?
If so, try the below

This doesn't need FP extensions. I know as my site doesn't have them and
this works for me


<html>
<head>
<script type="text/javascript">
function testform()
{
// put any tests in here
}
// --------------------
function sendform()
{
with (document.form1)
{
var body = ''
var i = elements.length , j = 0
while (i-- > 2) // drop last two elements
{
body += elements[j].name + ": "
+ elements[j].value
+ '%0d%0a' // line break after each line
j += 1
} // end while
}
window.location = "mailto:" + "name" + "@" + "domain" + ".com"
+ "?subject=Response%20from%20Form"
+ "&body=" + body
}
// --------------------
</script>
</head>
<body>
<form id="form1" name="form1" action="" >
<div style="padding:10px; font:normal 12px Arial; text-align:left;">
<p>
Hi all,<br />
<!-- Add your introductory text here -->
</p>

<p>
Please enter details<br/>
Name:<br/>
<input type="text" name="Name" value="Insert name" size="40" /><br/>

Email:<br/>
<input type="text" name="Email" value="Insert e-mail address"
size="40" /><br/>

<!-- enter other <input> or <textarea> here -->

Enter Comment:<br/>
<textarea name="Comment" rows="10" cols="100">Enter your comment in
here</textarea><br />
</div>

<div align="center">
<input type="button" name="submit" value=" Send "
onmouseover="testform()" onclick="sendform()" />
<input type="reset" name="reset" value=" Clear "/>
</div>
</form>
</body>
</html>
 
T

Thomas A. Rowe

How did you create and upload this form to the live/remote server?

You needed to have a web / site open in FP via File Menu | Open Web / Site and then create your
form, then you needed to use File Menu | Publish Web / Site to the live/remote server at
http://www.yourdomainname.com.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

elhossan said:
Trover L. thanks for your help but there is still a problem
this mean the sender has to has a mail clint
the server i use has FT extinsions but i still cant do the form
the form URL is http://www.dohavets.com/feed back.html

Trevor L. said:
elhossan said:
the form i want to use is very simple i just want to know the feed
back from the site visitor. and what do do if i want the data to be
sent to my email?

Do you want the data from the form as an email to you?
If so, try the below

This doesn't need FP extensions. I know as my site doesn't have them and
this works for me


<html>
<head>
<script type="text/javascript">
function testform()
{
// put any tests in here
}
// --------------------
function sendform()
{
with (document.form1)
{
var body = ''
var i = elements.length , j = 0
while (i-- > 2) // drop last two elements
{
body += elements[j].name + ": "
+ elements[j].value
+ '%0d%0a' // line break after each line
j += 1
} // end while
}
window.location = "mailto:" + "name" + "@" + "domain" + ".com"
+ "?subject=Response%20from%20Form"
+ "&body=" + body
}
// --------------------
</script>
</head>
<body>
<form id="form1" name="form1" action="" >
<div style="padding:10px; font:normal 12px Arial; text-align:left;">
<p>
Hi all,<br />
<!-- Add your introductory text here -->
</p>

<p>
Please enter details<br/>
Name:<br/>
<input type="text" name="Name" value="Insert name" size="40" /><br/>

Email:<br/>
<input type="text" name="Email" value="Insert e-mail address"
size="40" /><br/>

<!-- enter other <input> or <textarea> here -->

Enter Comment:<br/>
<textarea name="Comment" rows="10" cols="100">Enter your comment in
here</textarea><br />
</div>

<div align="center">
<input type="button" name="submit" value=" Send "
onmouseover="testform()" onclick="sendform()" />
<input type="reset" name="reset" value=" Clear "/>
</div>
</form>
</body>
</html>
 
E

elhossan

i didnt creat it this is a page tamplates in FP 2003 called Feedback Form
then i copy it and paste it in my web page and edit some filds

and the publish site from file menu is not active in FP 2003

Thomas A. Rowe said:
How did you create and upload this form to the live/remote server?

You needed to have a web / site open in FP via File Menu | Open Web / Site and then create your
form, then you needed to use File Menu | Publish Web / Site to the live/remote server at
http://www.yourdomainname.com.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

elhossan said:
Trover L. thanks for your help but there is still a problem
this mean the sender has to has a mail clint
the server i use has FT extinsions but i still cant do the form
the form URL is http://www.dohavets.com/feed back.html

Trevor L. said:
elhossan wrote:
the form i want to use is very simple i just want to know the feed
back from the site visitor. and what do do if i want the data to be
sent to my email?

Do you want the data from the form as an email to you?
If so, try the below

This doesn't need FP extensions. I know as my site doesn't have them and
this works for me


<html>
<head>
<script type="text/javascript">
function testform()
{
// put any tests in here
}
// --------------------
function sendform()
{
with (document.form1)
{
var body = ''
var i = elements.length , j = 0
while (i-- > 2) // drop last two elements
{
body += elements[j].name + ": "
+ elements[j].value
+ '%0d%0a' // line break after each line
j += 1
} // end while
}
window.location = "mailto:" + "name" + "@" + "domain" + ".com"
+ "?subject=Response%20from%20Form"
+ "&body=" + body
}
// --------------------
</script>
</head>
<body>
<form id="form1" name="form1" action="" >
<div style="padding:10px; font:normal 12px Arial; text-align:left;">
<p>
Hi all,<br />
<!-- Add your introductory text here -->
</p>

<p>
Please enter details<br/>
Name:<br/>
<input type="text" name="Name" value="Insert name" size="40" /><br/>

Email:<br/>
<input type="text" name="Email" value="Insert e-mail address"
size="40" /><br/>

<!-- enter other <input> or <textarea> here -->

Enter Comment:<br/>
<textarea name="Comment" rows="10" cols="100">Enter your comment in
here</textarea><br />
</div>

<div align="center">
<input type="button" name="submit" value=" Send "
onmouseover="testform()" onclick="sendform()" />
<input type="reset" name="reset" value=" Clear "/>
</div>
</form>
</body>
</html>
 
T

Thomas A. Rowe

You can't copy and paste it, which is why it is not working.

If publishing is not active, then you do not have site open, just a page.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

elhossan said:
i didnt creat it this is a page tamplates in FP 2003 called Feedback Form
then i copy it and paste it in my web page and edit some filds

and the publish site from file menu is not active in FP 2003

Thomas A. Rowe said:
How did you create and upload this form to the live/remote server?

You needed to have a web / site open in FP via File Menu | Open Web / Site and then create your
form, then you needed to use File Menu | Publish Web / Site to the live/remote server at
http://www.yourdomainname.com.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

elhossan said:
Trover L. thanks for your help but there is still a problem
this mean the sender has to has a mail clint
the server i use has FT extinsions but i still cant do the form
the form URL is http://www.dohavets.com/feed back.html

:

elhossan wrote:
the form i want to use is very simple i just want to know the feed
back from the site visitor. and what do do if i want the data to be
sent to my email?

Do you want the data from the form as an email to you?
If so, try the below

This doesn't need FP extensions. I know as my site doesn't have them and
this works for me


<html>
<head>
<script type="text/javascript">
function testform()
{
// put any tests in here
}
// --------------------
function sendform()
{
with (document.form1)
{
var body = ''
var i = elements.length , j = 0
while (i-- > 2) // drop last two elements
{
body += elements[j].name + ": "
+ elements[j].value
+ '%0d%0a' // line break after each line
j += 1
} // end while
}
window.location = "mailto:" + "name" + "@" + "domain" + ".com"
+ "?subject=Response%20from%20Form"
+ "&body=" + body
}
// --------------------
</script>
</head>
<body>
<form id="form1" name="form1" action="" >
<div style="padding:10px; font:normal 12px Arial; text-align:left;">
<p>
Hi all,<br />
<!-- Add your introductory text here -->
</p>

<p>
Please enter details<br/>
Name:<br/>
<input type="text" name="Name" value="Insert name" size="40" /><br/>

Email:<br/>
<input type="text" name="Email" value="Insert e-mail address"
size="40" /><br/>

<!-- enter other <input> or <textarea> here -->

Enter Comment:<br/>
<textarea name="Comment" rows="10" cols="100">Enter your comment in
here</textarea><br />
</div>

<div align="center">
<input type="button" name="submit" value=" Send "
onmouseover="testform()" onclick="sendform()" />
<input type="reset" name="reset" value=" Clear "/>
</div>
</form>
</body>
</html>
 

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