A form provides a way you to collect information from the people who view your web pages. A viewer enters data or makes choices among several options and then submits the form. The results can be sent to you by email. If your web server has the right software, you can save the form results in a database.
How do I create a form in WYSIWYG Web Builder?
Drag the Form Area from the toolbox to the page.
Design your form by adding some Form controls to the form. Web Builder includes a wide range of form controls like:ˇbuttons, checkboxes, radio buttons, editbox etc.
You can also make text and images part of the form.
Now let's create a simple feedback form.
The text items (Name, Rate my site, Poor, Good and Excellent) are just regular text elements. See also: Adding text to a web page.
Insert an Editbox and open its properties. Change the Name property to: Name.
Insert a Button, open its properties and set the Button Type to :Submit and change the Value to:
Submit my feedback.
Insert 3 radio buttons. Set the Group Name of all those radio buttons to: Rating.
Next set their values to poor, good and excellent.
And the last step is to setup the properties of the form.
Although we can use mailto:email@example.com to send the form data by email, this is not a very reliable solution because it depends on the browser configuration which is different for each user). For more details about this please read: http://www.wysiwygwebbuilder.com/forum/viewtopic.php?t=135
However one of the great features of WYSIWYG Web Builder is that is has a built-in PHP form processor. This implements all the basic features of a form processor like sending an email, saving it to a file on the server or even store it in a MySQL database!
Enable Use Built-in PHP form processor and fill in all required properties.
Email address (required)
The email address where the results of the form will be send to. You can only specific one email address in this field!
Click the 'More' button to specify multiple email addresses (CC/BCC). Use commas to separate email addresses.
The subject of the email message.
A short message that will be added to submitted data.
Success page (required)
The page that the user will be redirected to after the data has been submitted (after the 'submit' button has been pressed).
Error page (required)
The page that the user will be redirected to if an error occurred while processing the data.
When you are using the built-in form processor then make sure the File Extension of the page in page properties is set to 'php'!
Now to test the form you must publish it to the web server.
This is what the Form will look like in your browser:
The built-in form processor has many other features like saving the data to a MySQL database or uploading files.
See the help for more details about this or click the 'Advanced' button to explore them;)
Note that you can also use the built-in Form Wizard to create forms in a matter of minutes!
Frequently Asked Questions about Forms