Blocs allows you to easily integrate forms into your projects using the various form Brics available.

Adding a form
To add a form to a page, press the D key to enter drop mode, then hit the 0 key to view the Bric library. Using the search field in the Bric library, type forms. The brics will be filtered to show only the form items, the first item on the far left (the fully built form) will be automatically loaded into the current active drop space.

select-form

Hit the Return key to hide the Bric library and then move the cursor to the area you wish to add the form and left click to set it in place on your page. Take care to exit drop mode by pressing the D key before editing the form values.

 
Setting up a form
Once you have a form in place on your page, it will require a little configuration before it will work as desired. Making sure you are no longer in drop mode, move the cursor towards the edge of one of the form fields to reveal the outer form container hover marker. Once this marker is revealed left click and the form will be activated for editing.

form-hover

You will now be presented with the form options on the sidebar menu. The two main sections that require attention are the SENDTO and FROM input fields. In the SENDTO field, enter the email address you would like the forms data sent to and in the FROM field, enter the email address you would like the form to be posted via (this data will show in your email client as sent from). With these options set correctly the form should operate as desired after your project is exported as long as the site is hosted on a web server that supports PHP.


 

Form messages
From the form options you can also set the success and fail messages for the selected form. The success message is shown if the form is successfully posted and the fail message is shown if there is a problem that prevents the form from posting. To edit these messages simply Left Click into the relevant text area on the side bar and begin editing the text.


 

Important
Although Blocs creates all of the required PHP server side code to process and post forms, remember form posting will not work when your site is run from a computer desktop. Forms will only be processed and sent when hosted on a web server with PHP support.

Trouble Shooting
If your form is not sending, first check your spam folder at your receiving email address in case the emails have been moved there accidentally by the email client. Also check your Blocs project to confirm that all of the Bric items within the form such as text fields, radios and checkboxes have unique ID’s set. Finally, check that the server you are running your site from supports PHP.

If the problem persists, contact support in-app via the apps main menu Help > Contact Customer Support. Take care to include as much information as possible, including any live URL’s to your website.

contact-support