Frequently Asked Questions
See also: php Tips and Tricks
- How to unlock the Free Version
- Where do I find the User Manual?
- Setup Error: "Setup files are corrupted"
- I always get the error page when I test the form on my local computer
- What's the difference between the Free and the Licensed Version?
- How can the Captcha work without Cookies and third party plug-ins?
- How is the script protected against mail header injections?
- My Form has multiple Pages. Can I place the "Submit" button on the first page?
- Can I edit the .php file in my HTML editor?
- HTML or XHTML?
- I have uploaded the form to my hosted webserver, but no mail will be sent
- How can I change the sender of the email?
- Error: php Version 5 required
- Warning: Cannot modify header information - headers already sent
- The captcha image will not be shown (a broken image icon will be shown instead)
- Missing or invalid characters in web forms using the charset utf-8
- Can I use an iframe?
- Error Message: PHP mbstring not enabled
- The captcha image disappears after a few seconds
- How can I change the background color?
- Additional backsklashs in backslashs, quotes and apostrophes
- How to use an Image as Button
- How to format text in Label, Description and Error Messages
- How to change the reading direction from LTR (left-to-right) to RTL (right-to-left) for Hebrew or Arabic?
How to unlock the Free Version
Please click on "License & Update", enter the license key and
click on "Validate License".
Where do I find the User Manual?
Setup Error: "Setup files are corrupted"
Please clear your browser cache and retry to download the software.
It could be a transmission error over the net.
You can also use our alternate download (zip-compressed setup) or our alternate download server.
In some cases it also helps if you rename the newly download file, e.g. to awebform2.exe.
If you get this error message for every application you try to install, then the windows installer on your computer might be damaged.
I always get the error page when I test the form on my local computer
Important: If you are testing the form on your local machine, e.g. using XAMP, then you might always get the error page and NO mail will be sent. The reason is, that sendmail will not work on some local machines using a dynamic IP address, because most mailexchangers are blocking dynamic IP address ranges. Please upload the form to your webserver and run it there.
What's the difference between the Free and the Licensed Version?
The Free Version is fully functional, but adds a reference to "Arclab Web Form Builder" at the bottom of the form.
How can the Captcha work without Cookies and third party plug-ins?
The program uses php Sessions, which are temporary saved values on the server.
The session ID will be passed along with the URL. The key code is random for
each Captcha, encrypted and saved out of reach for bots. The session ID is shown
in the browser URL, but useless for an attacker. It cannot be used to submit
the form twice. The session values on the server are NOT used for regular input
It will work with Cookies turned off completely!
How is the script protected against php mail header injections?
There is one golden rule agains injections of all kind - never use unfiltered user input.
Arclab Web Form Builder is protected against such an attack in multiple ways:
It checks the email address for the correct syntax if you use the "Email Address Input Element" in the program. Arclab Web Form Builder uses a second filter function in addition to the email syntax verification to filter all mail header elements.
Please take a look at: How to protect a php Email Form using php mail or mb_send_mail against Mail Header Injection for details.
My Form has multiple Pages. Can I place the "Submit" button on the first page?
No, the "Submit" button should be placed on the last Form Page.
The script will not accept form submissions from other pages.
Please note: If you use a Captcha then the Captcha should also be included on the last Form Page!
Can I edit the .php file in my HTML editor?
No, the .php file cannot be edited. Please reload the form in the program and make the changes. If you want to change the HTML template, in which the form was embedded, then edit the HTML template file in your HTML editor, reload the HTML template in the "Form Properties" and re-create the .php file using the program.
HTML or XHTML?
The program supports both. It closes all
<p> ... </p>
<div> ... </div>
<input ... />
I have uploaded the form to my hosted webserver, but no mail will be sent
Please make sure, that you have entered the correct email address as "Recipient"
in the "Form Properties".
Some hosted webservers require that you define a default sender email address in the webserver configuration before you can use any php-formmailer. You need to define the default sender in the webserver configuration - not inside the program or the php-form! The php-script should work fine after you have defined a default sender. Please also take a look at the help pages and FAQ of your webhosting service.
How can I change the sender of the email?
Thats easy, just define a variable [Email] in your form.
- If you have defined a variable with the name [Email], then the form input [Email] will be used as sender. [Email] has the highest priority
- If [Email] was not found, then the program will search for an email input field in your form and will use it instead.
- If no email input field was defined in the form, then the "Recipient" will be used as sender.
- Add _NOSENDER to the variable name if the email field should NOT be used as sender, e.g. [Email_NOSENDER] .
- Please take a look at the user manual for details.
Error: php Version 5 required
You will get this error, if you have installed an older php version e.g.
4.4.9, which does not fully support object oriented programming.
Please update your php version to 5 - most providers already use php5 or you can change the php version in the settings of your web server.
Important: Some web providers have
installed e.g. php version 4 AND 5 at the same time.
Please try to rename the php file (change the extension) if you get the above error.
Change the extension of the php file created by the program from .php to .php5 e.g. rename webform.php to webform.php5
Warning: Cannot modify header information – headers already sent
The captcha image will not be shown (a broken image icon will be shown instead)
This indicates, that PHP SESSIONS are not enabled on your web server.
Please enable PHP SESSIONS, if you want to use a captcha in your form.
e.g. if the session.save_path is not setup correctly in the php.ini then PHP sessions will not work
session.save_path = /xxx/.../phpsessions - Make sure, that you enter the valid path here! -
Please refer to the documentation of your webspace or contact your webhost provider how to enable php sessions for your webspace.
If you are using "php include"
and you are sure, that PHP sessions are already enabled, then
you should specify the "Captcha Self-Referential URL" in the
"Form Properties -> Style and Layout -> Input Elements".
The captcha image will be created by the same php script, which generates the form. This means there is a self-reference in the generated HTML code with a parameter to create the captcha image. The script can create the self-referential URL itself in most cases, but some providers or CMS are using a mix of virtual and real paths, so that the "auto" function cannot work.
You can specify the "Captcha Self-Referential URL" in the "Form Properties -> Style and Layout -> Input Elements" as absolute or relative URL.
e.g. webform.php or folder/webform.php or http://www.yourdomain.tld/folder/webform.php
Please make sure, that you specify the URL to the include php file - not to the host php file.
e.g. if you use <?php include "mywebform.php"> to include the mywebform.php, then you should enter "mywebform.php" as self-referential URL;
if you use <?php include "/folder/mywebform.php"> to include the mywebform.php, then you should enter "/folder/mywebform.php" as self-referential URL
You can also use the full URL, e.g. https://www.mydomain.tld/folder/webform.php
Missing or invalid characters in web forms using the charset utf-8
This can happen if you are using php include and the php
host page does not use utf-8.
You can check the charset for your php host page here: http://validator.w3.org/i18n-checker/
Please change the charset of the host page to utf-8 to solve this problem.
Can I use an iframe?
Yes, you can also use an iframe to include the web form into an existing
Please take a look at the user manual for details.
Error Message: PHP mbstring not enabled
The problem is, that the php mbstring extension - which is required for utf-8/unicode
php functions - is not installed on your webserver. This cannot be fixed in
the form, its a configuration issue on the webserver (php installation).
Please refer to the information of your webhost provider how to enable/install the mbstring php extension and contact your webadministrator or hosting provider regarding this issue if you cannot get it to work.
The captcha image disappears after a few seconds
We have reports about this problem from users using Google Chrome. It seems
to be a problem with Google Chrome and the php image function. Its recommended
to update the php version if your form has the same problem. (This is not a
error in the form, its an issue with php and Chrome).
Please contact your web provider if you don't know how to update php to a newer version!
How can I change the background color?
a) Blank Page or iFrame (no HTML Host Page loaded)
Open the "Form Properties->Fonts and Colors" and change the background-color.
b) HTML Host Page (Insert Form in HTML Page)
The form is transparent, so it has the background color of the element hosting
the ARCLABWEBFORM keyword.
You can use e.g. a table or div to specify a background color.
HTML Sourcecode Sample:
color:#FFFFFF; padding:10px; width:700px;">
c) Insert Form in php Page using php Include
The form is transparent, so it has the background color of the element hosting the php include command.
<?php include ("webform.php"); ?>
The php host page cannot be shown on the local machine, but you can simulate
the background color in the program.
Please select the same background color as the element hosting the php include command.
Additional backslashs in backslashs, quotes and apostrophes
If you find additional backslashs on backslashs, quotes and apostrophes then
magic_quotes might be turned on.
magic_quotes are DEPRECATED and should no longer been used.
Please disable magic_quotes in your PHP configuration to fix this issue.
Please take a look at the php.net manual for details.
How to use an Image as Button
- Add a button and go to the section "Button Style".
Important: Do NOT remove the text from the button e.g. "Next".
You can remove button text using CSS code!
- Select "<Default Browser Style>" to clear all
- Go to section "Custom Style".
- Select the button, e.g. click on "Next" and add the following CSS code:
background-image: url("http://www.yourdomain.tld/image/next-button.png"); /* or "/image/next-button.png" */
width: 60px; /* image-width */
height: 20px; /* image-height */
text-indent: -9999px; /* remove text from button */
- Specify a different image for e.g. "Next-Hover" to show a hover effect
- See also: Cross-Browser-Compatible Button Styles using CSS code
How to format text in Label, Description and Error Messages
Description, Label and Error Text will not accept HTML code, HTML entities
like e.g. < will be transfered into >
Please use the following format instead:
|Line break||[BR]||Hello world![BR]Some text|
|Text color||[COLOR:color]Hello world[/COLOR]
(Color as HEX or HTML color)
|Text size||[SIZE:size]Hello world[/SIZE]
(Size in pixel (px) or point (pt))
|Heading 1||[H1]Text[/H1]||[H1]Hello World[/H1]|
|Heading 2||[H2]Text[/H2]||[H2]Hello World[/H2]|
|Heading 3||[H3]Text[/H3]||[H3]Hello World[/H3]|
|Heading 4||[H4]Text[/H4]||[H4]Hello World[/H4]|
|Heading 5||[H5]Text[/H5]||[H5]Hello World[/H5]|
|Link opened in NEW window||[LINK:url]Anchor[/LINK]||[LINK:http://www.arclab.com]Click here to open[/LINK]
The link will be opened in a new window! The user will not leave the form!
|Link opened in SAME window||[LINKSAME:url]Anchor[/LINKSAME]||[LINKSAME:http://www.arclab.com]Click here to open[/LINKSAME]
The link will be opened in the same window. This means the user leaves the form! You can use this type of link e.g. on the Success and Error Pages after the user has completed the form.
|Link opened in same window as TOP-frame||[LINKTOP:url]Anchor[/LINKTOP]||[LINKTOP:http://www.arclab.com]Click here to open[/LINKTOP]
Use LINKTOP to open a link as new page in the current browser window when using an iframe or frames.
You can use this type of link e.g. on the Success and Error Pages after the user has completed the form.
How to change the reading direction from LTR (left-to-right) to RTL (right-to-left) for Hebrew or Arabic?
Please change the direction of the host page, e.g. <html dir="rtl">
or use a div "around" the form to change the reading direction:
- HTML Host Page: <div style="direction:rtl;">ARCLABWEBFORM</div>
- php Include: <div style="direction:rtl;"><?php include ("webform.php"); ?></div>
Important: "Cell Left" has now switched positions,
so "Cell Left" is on the right side!
You should also change the "Form Properties" -> "Style and Layout" -> "Cell Left" -> "Alignment" to "right"
Please contact us if you cannot find an answer to your question here