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.

Closed Thread
 
Thread Tools
  #1  
Old 05-08-2008, 06:14 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,029
Talking Form Wizard Tutorial

Please also read carefully the TEXT below this video!


Voda TV Presents

The major enhancement in the new Form wizard, which also applies to all BlueVoda forms independently from the way they have been built, is the Built In Form Processor. This form processor eliminates the need to copy / paste php code and manually create a processing page. The processing script is automatically embedded in your own form page, and it will process your form info correctly. It takes down to practically zero copy / paste mistakes that have caused lots of frustration to many users.
This script has been created with the contribution of DBTechnosystems and has the following enhancements, in comparison to the one used in the BV forms up to this moment:

1. It will automatically take care of file uploads
2. It will take care of Multiple choice Listboxes / Comboboxes
3. It will detect injection attempts and deny processing
4. It will report these errors if found
5. It allows you to specify the Upload folder and the max filesize
6. It will add a random prefix to the file uploaded, to avoid hackers uploading and running malicious files

Please note that these are essential features, for a more complete script that will provide much more both in terms of security and in terms of features, please visit the Advanced BlueVoda Form Processor thread.


Creating an Error page

The new BV 10.1 built in form processor was developed by DB Technosystems.com. We have now embedded a simple error reporting system. To be able to report the errors, you need to correctly build an error page.

As we have designed the script, this is an extremely easy task: Create a page as you normally would. Leave some free space for the text of the error message. Then, place in your page the following simple text: ##error##
As you see it in the following example:






If an error is found in your form, the error page will show up. The text ##error## will be replaced by the actual error message. You can format the text as you like (Font type, size, color and position, alignment etc) . Make sure to make it LARGE enough (as you can see above) so that there is enough space for it.

Now, insert an ADVANCED button in your page. Double click it, Make it OnClick, and select onClick action: Go to the Previous Page. This button will enable your visitor to go back in your form and edit his input before submitting again.

Multiple Choice Listboxes / Comboboxes

Some times you need such fields. In Addition, there are some tomes that even checkboxes for the SAME choice, need to have multiple answers (values).

In order for the built in processor to correctly process these fields, there is only one requirement: the file names of these multiple choice fields MUST have at the end, [] (square brackets). In example, a field "How did you find us" should be "How did you find us[]" in order for the processor to be able to correctly process it. Of course, you also need to check the "Allow Multiple Selections" checkbox in the field Properties dialog box.

Uploading files.

The new processor allows you to upload files. Normally, the default settings allow a maximum filesize of 1 Mb and the files will be uploaded in a subfolder that is AUTOMATICALLY created, which is named "uploads".

However, it is possible to change the folder name as described in the following steps.

You may also want to change the default maximum filesize, from 1 Mb (1024 Kb) to a lower or higher number.

BOTH these tasks are achieved through HIDDEN FIELDS.

Double click your form, and in the lower part, in the Hidden Fields section, add these two fields:

filesize (all lowercase) and upload_folder (all lowercase).

The filesize MUST be typed in Kbytes.

Please look at the example picture here below:




Important Notes!

1. There are some limitations to the field naming: the visitor's email address field, MUST be named "email", all lowercase, exactly as you see it, so that the script will correctly recognize it. Otherwise, the sender's email address will default to your own email address. This is done because many ISPs will block emails if no sender email address is included in the mail.
2. Your Submit button name MUST be "submit", and your "reset" button MUST be named "reset". If you name them anything else, you will recieve those values in the mail along with the others.
3. Please note that when you use the built in form processor, the page NEEDS to be published as php instead of html. If you have created the form from scratch with the wizard, this is done automatically. So, if your page is named "contact", it will be published as "contact.php". So this is what you should include in your menu bars as link to the contact page.

Troubleshooting: If after publishing yout form page, you see lots of code on top of the page, don't worry, it is simple: you have published your page as html instead of php.

Have fun!
__________________
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!
  #2  
Old 06-02-2008, 06:17 PM
VodaHost's Avatar
General & Forum Administrator
 
Join Date: Mar 2005
Location: Wilmington, Delaware USA
Posts: 8,653
Default Re: Form Wizard Tutorial

Please make sure that you watch all three form tutorials...They will give you a complete understanding of how to build and publish a form.

How to create a form from scratch - tutorial #2
How to create a form from scratch using the form wizard.

How to edit a form - tutorial #3
How to edit a form. Covers adding and removing fields to your form such as text boxes, drop down boxes, radio buttons, etc...
__________________
VodaHost
Your Website People!
1-302-283-3777 North America / International
07092887580 / United Kingdom

Military Ranking System Explained


Click Here to take the royal VodaHost Tour
Click Here for the VodaHost Help Centre & Tutorials
Got a question? - Try a forum search! Available at the top of every page!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


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 Off



All times are GMT +1. The time now is 08:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, 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 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201