Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 08-12-2007, 12:25 PM
Private First Class
 
Join Date: Aug 2007
Posts: 7
Default form not saved as php

Hi there, for 2 days I've been battling with the basic form as shown by your tutorial. I've done everything right on "contact" page and thank you page..as according to the "tut", saving as .php. The next step in "thank you" page, when it comes to saving as HTML the php code it asks to copy and paste in header...is not there. I've tried everything I could...using the tut reference on my main page as well as individually.

This is all the code I get in Thank You

<!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>Thank You</title>
<meta name="GENERATOR" content="Created by BlueVoda">
<style type="text/css">
div#container
{
width: 800px;
position: relative;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
body
{
text-align: center;
margin: 0;
}
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="container">
</div>
</body>
</html>

This is all what I get on my contact page...
<!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>contact</title>
<meta name="GENERATOR" content="Created by BlueVoda">
<style type="text/css">
div#container
{
width: 800px;
position: relative;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
body
{
text-align: center;
margin: 0;
}
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="container">
<div id="bv_" style="position:absolute;left:15px;top:15px;width: 380px;height:150px;z-index:5" align="left">
<form name="contact" method="POST" action="action.php" enctype="multipart/form-data" id="Form1">
<input type="text" id="Editbox1" style="position:absolute;left:200px;top:25px;width :144px;font-family:Courier;font-size:19px;z-index:0" size="16" name="email" value="">
<input type="text" id="Editbox2" style="position:absolute;left:200px;top:70px;width :144px;font-family:Courier;font-size:19px;z-index:1" size="16" name="name" value="">
<div id="bv_Text1" style="position:absolute;left:120px;top:30px;width :50px;height:16px;z-index:2" align="right">
<font style="font-size:13px" color="#000000" face="Arial">email</font></div>
<div id="bv_Text2" style="position:absolute;left:115px;top:75px;width :80px;height:16px;z-index:3" align="right">
<font style="font-size:13px" color="#000000" face="Arial">name</font></div>
<input type="submit" id="Button1"" name="Button1" value="Submit Now" style="position:absolute;left:230px;top:105px;widt h:75px;height:24px;z-index:4">

</form>
</div>
</div>
</body>
</html>

There is no .php extention..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 08-12-2007, 01:18 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: form not saved as php

O, let's take things from the start:

1. The form page doesn't need to be php. So you can publish it as a normal page, with the html extension that BV by default assigns when publishing.
2. The Thank you page instead needs to be published as php. To achieve this you need, in your thank you page, to go to Page Properties, and from there set the page extension, when published, to be .php
3. In this thank you page, you need to paste the php code that comes with the tutorial. You will find this code UNDER the multimedia tutorial. Just scroll down the whole forum page of the tutorial, and you will find all the necessary steps.
4. A very common error that new users make, is this: they set the form action to be "action.php" but they save (and publish) thsi action page as "thankyou". The form action MUST be the same as the thank you page name. So if your thank you page is saved as "action" and published as "action.php", the FORM action needs to be "action.php". If instead the thank you page is saved as "thankyou" and therefore published as "thankyou.php", the form action MUST be "thankyou.php".
The name is NOT important, the important is that, in any case, the form action IS SET TO BE THE SAME AS THE THANK YOU PAGE NAME.

Asi said, read the text UNDER the multimedia tutorial, it is all explained there step by step.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 08-13-2007, 02:14 AM
Private First Class
 
Join Date: Aug 2007
Posts: 7
Default Re: form not saved as php

Thanx Naval...I read your post over and over, although I knew what U meant, I had no idea where to find what U were talking about. Dumb **** as I am, I kept looking in my html view source for the code, not realising that it was actually on the tuts page, at the bottom.
Now if I had scrolled down on the tuts page in the beginning, I would have seen it....duh.
Thanx for your reply, I got it sorted now...:)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 03:21 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176