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 07-07-2006, 06:36 PM
Special Status
 
Join Date: Nov 2005
Posts: 178
Smile The same form in different pages

Hi everybody there: trying to set up the same basic form in diffrent pages for my website, but i "guess" i need to change the names of pages, my question is

If i have a form let's say with 3 pages that are already working OK in my site

1. contact
2. error
3. thank_you

Do i have to create a new form and again new 3 pages to set up the same form to get it work and just remane the pages in the .PHP file to


1. contact1
2. error1
3. thank_ you1

etc, etc, is this the right way to do when using the same form in multiple pages on your site?

I hope a colonel inlight me with this tophic..i am at a loss
but all suggestions are welcome...

something that i was wondering is if is possible to use the same error, tank you pages of your form, to redirect all your contact forms to them but once again the experts will have the last word.

Thanks in advance
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 07-07-2006, 09:56 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: The same form in different pages

Julia-
The form pages themselves will be differnt names- formpg1, formpg2 etc...

So long as the forms for each page are identical- (i.e.- the number of fields and the field names are the same) then the php processing page can be the same. For each form the action would be something like-
thankyou.php

And you can access the same error page for any form. Lets say that you have 4 forms that have an e-mail field. You can reference the same e-mail error page for all 4.

If you read this tutorial- you can eaisly create one BV page that will display all your error messages- as many as you like.
php mailto security tutorial

This also incorporates form security.

Hope that helps.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
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 07-07-2006, 10:59 PM
Special Status
 
Join Date: Nov 2005
Posts: 178
Question Re: The same form in different pages

PHP Code:
 The form pages themselves will be differnt namesformpg1formpg2 etc... 
Tkank you andy, i thought that the form pages themselves where referred in the .php file by name, and if making a new form for other website page with different names requires a second .php file to be uploaded, are you saying that all forms in my site can work wih one .php file?

I do not know if i get it right?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 07-07-2006, 11:20 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: The same form in different pages

Well- actually the php file is refered to in the form- action= "thankyou.php"

The php script named thankyou.php will then execute when called upon (by action of the form). Therefore- yes. If the forms are identical, the same php script (page) can execute for different forms on a server (website). If you look on the php script, you will not find a reference to the form page.

In actuallity- that concept is how a hacker can use ones form against you. Lets say you set field length limits on your form. Because the form is html, it is visable to all via the source code. A hacker could duplicate your form-removing the field length limit and then set the action to:
http://www.yourdomain.com/thankyou.php and then send out alot of
spam which would appear to come from your form. **That is why the need to have a php script that sets length limits as php is not visable to anyone. So you see- the form can be different- but the php will execute if the fields are identical.

Hope that helps.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 07-08-2006, 09:42 AM
Special Status
 
Join Date: Nov 2005
Posts: 178
Smile Re: The same form in different pages

Thanks Andy i will give it a try. and see what happen

Julia.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 12-18-2007, 03:34 AM
Corporal
 
Join Date: Nov 2007
Location: Ulaanbaatar, Mongolia
Posts: 10
Default Re: The same form in different pages

I can not download form part 1 tutorial multimedia last 2 days, something wrong. My problem is reset and submit buttons are not functionate.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 12-18-2007, 07:19 AM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: The same form in different pages

brsn-
Please post your url to your form so we can check it.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
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 09:35 PM.


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