PDA

View Full Version : How to create a form with contents..



gannboy
05-25-2006, 12:28 AM
Hi there,

My name is Eddy, client id is 6284.

I have some questions regarding creating forms...

1) I would like to create a website with form and form elements on the right, where the site contents on the left and upload it as an html page... how can I do it?

2) After doing it, will I be able to capture the info onto my email address?

That's all for the moment..

Regards,
Eddy

davidundalicia
05-25-2006, 12:54 AM
Yes you can do that Eddy,

Start by viewing the BV video tutorials
or click on the link under my name below......

have fun.......

gannboy
05-25-2006, 10:58 AM
Yes you can do that Eddy,

Start by viewing the BV video tutorials
or click on the link under my name below......

have fun.......

Hi there,

Thanks for your help.

I have created a form using bluevoda website builders after following very closely the videos.

I have a question:-

1) How come when I click on the submit button this came out:

This form is being submitted email.
Submitting this form will reveal your email address to the receipent, and will send the data form without encrypting it for privacy.

How can I enable it to work just like getresponse.com after the subscriber click on the "submit button" and will be re-direct to a confirmation page that I stated therein.

Please help me!

Thanks in advance

Regards,
Eddy

Andy128
05-25-2006, 11:27 AM
Eddy-

Best to follow this tutorial for what you are looking for;

http://netisopen.com/computer/TF001/T001.html

Post back if you have any questions.

Andy

gannboy
05-25-2006, 11:38 AM
Eddy-

Best to follow this tutorial for what you are looking for;

http://netisopen.com/computer/TF001/T001.html

Post back if you have any questions.

Andy

Hi Andy,

Thanks for the help... I have followed the instructions in the tutorial very closely..

But after I have click submit on my form.. I showed me this

Parse error: syntax error, unexpected '>' in /home/bwavweja/public_html/thankyou.php on line 35

What does the above mean....

Please help me... thanks in advance.

Regards,
Eddy

Andy128
05-25-2006, 12:20 PM
Post your URL and I will take a look at your form. Also- could you post the php script exactly as you used it so we can look at it also. Just copy and paste it in a thread.


Andy

gannboy
05-25-2006, 12:27 PM
Post your URL and I will take a look at your form. Also- could you post the php script exactly as you used it so we can look at it also. Just copy and paste it in a thread.


Andy

Yes Sir...

This is my url...:

http://www.uniqueasthmatreatmentsecrets.com/contact.html

My thank you page is saved as thankyou.php..the under the page properties of this page... the extension is php.

My script is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Asthma Treatment | Amazing Free Techniques On Asthma Treatment</TITLE>
<META name="KEYWORDS" content="asthma treatment, asthma treatment secrets, asthma treatment tip, asthma control, asthma, asthmatic, asthmatics, drug free, sinus, allergies, allergy, asthma symptom, asthma attack">
<META name="DESCRIPTION" content="Asthma Treatment - Learn an amazing free techniques, tips and secrets on asthma treatment">
<META name="GENERATOR" content="Created by BlueVoda">
<STYLE type="text/css">
div#container
{
width: 1148px;
position: relative;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
body
{
text-align: center;
margin: 0;
}
</STYLE>
</HEAD>
<BODY bgcolor="#0000A0" text="#000000" <script language="php">
$email = $HTTP_POST_VARS[email];
$mailto = "eddy@uniqueasthmatreatmentsecrets.com";
$mailsubj = "Confirmation Page Contact";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; }
if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
<script>>
<DIV id="container">
<DIV style="position:absolute;left:154px;top:74px;width:664px; height:426px;z-index:0" align="left">
<TABLE width="100%" height="100%" border="2" cellpadding="0" cellspacing="1">
<TR>
<TD align="left" valign="top" BGCOLOR="#FFFFFF" width="658" height="420">&nbsp;</TD>
</TR>
</TABLE>
</DIV>
<DIV style="position:absolute;left:221px;top:114px;width:535px ;height:29px;background-color:#FFFFFF;z-index:1" align="left">
<FONT style="FONT-SIZE:18pt" color="#0000A0" face="Verdana"><B>Your Subscription Is Being Processed...</B></FONT>
</DIV>
<DIV style="position:absolute;left:222px;top:165px;width:535px ;height:87px;background-color:#FFFFFF;z-index:2" align="left">
<FONT style="FONT-SIZE:12pt" color="#000000" face="Verdana">Thank You!<BR>
<BR>
Your subscription has been confirmed and your email address has been added to our mailing list. Thank you for subscribing!<BR>
</FONT>
</DIV>
<DIV style="position:absolute;left:222px;top:269px;width:528px ;height:108px;background-color:#FFFFFF;z-index:3" align="left">
<FONT style="FONT-SIZE:12pt;BACKGROUND-COLOR:#FFFFFF" color="#000000" face="Verdana">In the meantime, you may want to download the 1st report, &quot;<A href="http://www.uniqueasthmatreatmentsecrets.com/Asthma_Treatment_Free_Report.pdf">How To Prevent Asthma From Bothering Your Forever NOW!</A>&quot;<BR>
<BR>
<BR>
The 2nd report will be send to your inbox. Do check it your email with 24 hours.</FONT>
</DIV>
</DIV>
</BODY>
</HTML>

Please help me to take a look.

Thanks in advance.

Regards,
Eddy

Andy128
05-25-2006, 01:08 PM
Ok-

I am no expert with code but I see some things that may cause problems.

<BODY bgcolor="#0000A0" text="#000000">
<script language="php">
$email = $HTTP_POST_VARS[email];
$mailto = "eddy@uniqueasthmatreatmentsecrets.com";
$mailsubj = "Confirmation Page Contact";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; }
if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
</script>

Look at the above and see how it differs from your original and make the
necessary adjustments. The closing tag on the <body........>
and the closing php script tag was not correct.

Try that and see if it works.

Andy

gannboy
05-25-2006, 01:15 PM
Hi Andy,

Thanks you very much for your help.. The page is well loaded.. thanks again.

Well, a </script> really makes lot of different.

No wonder you are Major.. I hereby salute you. SIR...

thanks again.

Regards,
Eddy

Andy128
05-25-2006, 01:25 PM
Glad it worked!

Andy