Create Professional Secure Forms with CAPTCHA, Realtime Validation and PHP Backend
Save your time from the tedious process of building interactive AJAX forms

Back in the autumn of 2008, I have written a tutorial about how you can create a basic AJAX Contact Form that works with PHP Back-end. The post is one of the most popular here on BitRepository having over 8,000 monthly page views and over 440 comments so far.
Since many people asked me how they can do this and even hired me to offer them assistance with this application, I have decided to write a more advanced script with many features including CAPTCHA and Real-time Validation.
The script can be practically used to create any type of ajaxified, yet secure form that collects data and sends it to your email inbox including but not limited to:
- Contact/Feedback Form
- Support Form
- Customer Survey Form
- Online Product Order Form
- Event Registration Form
- Employment Form
- Make a Room Reservation Online Form
- Send Testimonial Form
- Subscribe to Newsletter Form
- Gift Order Form
See some samples of these generated forms
Some of the features you get with AJAX Form Pro
Create unlimited AJAX Forms in the same page/multiple pages
You can generate as many forms as you like and easily include them anywhere you wish. Each form has its own configuration file. For instance, you can enable the CAPTCHA for a form, while you can disable it for another form.
RealTime Validator
This makes the form completion process interactive. The errors show/hide while the user fills the form. If this feature is disabled, then all the errors will show above the form once the user clicks the submit button.
Powerful CAPTCHA: Anti-Spam Verification Image
You can use letters, numbers or both (can be enabled/disabled). The verification image can be refreshed in case the user is having trouble in recognizing the characters. While the user types the security code the script verifies it in the background. Once the user types the right characters, it automatically shows (in real-time) a successful message to the user. Unlike many AJAX CAPTCHAs out there that rely on JavaScript as an Anti-spam measure and have a medium security level, the one I have chosen to implement uses PHP to securely generate and register the required code in the background. The comparison is a case-insensitive one in order to make the filling process easier without annoying the person who fills the security code.
Auto Responder
Useful to notify your visitors that their message was successfully sent (e.g. "Your message has been successfully sent. We will reply to your inquiry within 48 hours"). For instance, it can be used while you're in vacation and let the users know that you will reply to them as soon as possible. The headers (from name, email) can be set in the configuration file.
Send Mail with Attachments
This application supports adding file attachments to the data that is sent through the AJAX Forms. You can either receive the links to the uploaded files or the actual attachments to the mail message. I'd prefer the former method, because often the mails with many attachments are automatically reported as SPAM. This "file attachment" feature is also available if you use the AJAX Form inside a Lightbox.
Fully (CSS & HTML) Customizable: Supports any form element
Easily add/remove fields, change notifications, customize the mail settings. The following fields are supported: input text boxes, textareas, single/multiple selects, checkboxes, radios. This way, you can create more complex web forms and surveys without editing any HTML code.
Turns into a simple PHP Contact Form if JavaScript is disabled
Is the visitor in that 3% of people that have
JS disabled? No worries! The form degrades gracefully into a basic non-AJAX PHP Contact Form.
Tableless
Clean Layout (uses LABELs, DIVs and Paragraphs)
Lightbox integration (Powered by Fancybox)
Display the form in a Mac-style "lightbox" that floats overtop of web page.
Modal Form with Sliding Transition (Left & Top)
Add some style to your pages by loading the forms in a fancy way
Redirect to Thank You page after Successful Submission
If you do not want to show the basic successful confirmation message, you can redirect the user to a customized thank you page
Send mails using either mail() function or through SMTP
Besides the basic mail() function, you can use the
SMTP method to send the mail. This way, chances are higher the message won't end in the JUNK/SPAM folder, especially if lot of mails are sent.
Easily send mail to multiple recipients/webmasters
You have the option to set as many recipients you want to get the mail that is sent through the forms. Each form has its recipients. For instance, one can be set to send the form information to the Marketing Department while other can be set to send the information to the Billing Department.
HTML Code Separated from the PHP Code
The script is powered by the
Smarty template which is meant to ease the process of web design by separating the (logic) PHP Code from the (output) HTML code. Beside the fact that things are kept clean, it is also easier for you to make changes to the HTML structure without touching the PHP code.
100% Source Code Available
You have the possibility to customize the script as you wish. NO encrypted or obfuscated code!
Documentation
A help page that guides you through the setup process (1. Basic Settings, 2. HTML Structure, 3. CSS Files and Structure, 4. JavaScript, 5. Sources and Credits)
Additional features include:
- 3 Layouts Available: 'Left' and 'Right' Justified Horizontal Labels, Vertical Labels, In-Field Labels (for Developer and Extended Licenses)
- The e-mail templates (message, subject) are customizable
- The errors and the notifications can be easily changed
- The script works in conjunction with other libraries beside jQuery such as MooTools or Prototype
- Set a custom subject for the mail that you receive if the subject field is removed
- "Send me a copy of the mail" feature: if activated, the user receives exactly the same mail as you get.
Server Requirements
- PHP5+
- GD Library Enabled (only if you want to use the Anti-Spam Image)
Browser Compatibility
- This script is compatible with all major browsers.
- It was tested in FireFox 3.5, IE 6, IE 7 & IE 8, Google Chrome 3.0, Opera 10, Safari 4.0, SeaMonkey 2.0, Flock 2.5.6
Is AJAX Form Pro the right script for me?
- This product is aimed to:
- Webmasters that want to improve the contact forms from their website(s)
- Web Developers that have multiple websites and need to install (contact) forms on them
- Freelance Web Developers that are looking to create interactive forms for their client(s) / website(s) / project(s)
- AJAX Form Pro is a PHP tool to build interactive forms, not just a basic Contact Form nor a WYSIWYG application.
Money Back Risk Free Trial
- I offer a 60 days money back guarantee.
- If for any reason you are not satisfied with this script you can request a refund and I will buy the script back from you. No questions asked!
To get instant access to this script right now — simply select your license type below and click your desired payment method.
Suitable for installing on a single website or intranet site project. A single license is for one domain.
Lets you install unlimited copies of the script. Unlimited license is for unlimited personal hosts (domains or sub-domains).
Includes both the developer and the
commercial license. You CAN use this script in your clients' projects. However, you DO NOT have the right to re-sell it.
Example: you are allowed to incorporate the script in a Wordpress Theme that is sold on
Themeforest.net or into a CMS you made for a client of yours.
 | | or | |  |
After checkout, you'll get immediate access to the script. Place your order right
now to get started and get all features of AJAX Form Builder.
- Licenses are lifetime
- Customer Support is offered within 24 hours
- Payments are processed through PayPal or 2Checkout
- Digital delivery is provided by E-Junkie
Customer Testimonials
"Very nice! We went through 8 different scripts, only to be frustrated with broken code, links, and tutorials, to finally find one so simple, beautiful and it works! We are avid PHP programmers, but are not yet too versed with AJAX, so this solution was perfect! Thanks" - Jared (http://www.haroldsmithbicycle.com/)
"I had a real need for a clean and stylish contact form. I tried some 11 forms before I decided on one. I have to say your form was the winning choice hands down." - Kevin Morrison (NW Interactive designs)
"It works very good and it solved the problem of needing a form validation as well a as a success message in the same page." - Rolando Martinez Barron (http://www.matamoros.com/)
"I am working a project for patisserie web site in Turkey and i used your form form this web site contact page. Belong to me, your form is very useful and successful, thanks a lot." - Kayhan Yalinkilic

Get Free Lite Version
If you’re not sure this is the right product for you, I suggest you get a lite version of this script that has some similar features. Although it will show you just a fraction of what AJAX Form Pro v2 can do, you can decide later if the upgrade to the paid version is worthy or not.
The script is available for BitRepository.com readers. Enter your details below for instant download:
244 Replies to "Create Professional Secure Forms with CAPTCHA, Realtime Validation and PHP Backend"
December 1, 2010 at 12:13 PM
I bought a premium version of this form but could not figure out how I can add referral URL into the form. Also is there a way I can enable this form directly into a website instead of opening a new window.
December 5, 2010 at 1:27 AM
Do you want to see the referrer page of the page where the contact form is located? For instance, if someone accesses the contact.php from videos.php, you need to get the videos page: e.g. http://www.yourdomain.com/videos.php). Is that what you want? If yes, you can add a hidden form element with the referrer (e.g.):
<input type="hidden" name="referrer" value="<?php echo $_SERVER['HTTP_REFERER']; ?>" />In the parse.php/parse2.php page make sure you add the value of the ‘referrer’ to the mail message (e.g.):
$final_message = $final_message.'Referrer Code: '.$_POST['referrer'];
December 5, 2010 at 12:21 PM
Where do I add this in phase2.php?
$final_message = $final_message.'
Referrer Code: '.$_POST['referrer'];
December 9, 2010 at 12:38 AM
Actually, it’s parse2.php! You can add it just before:
$acf_mail->MsgHTML($final_message);PS: parse2.php is actually the file that is used if the script degrades gracefully into a simple PHP contact form (e.g. when JavaScript is disabled).
December 12, 2010 at 8:44 AM
Hello Gabriel, I just buy Premium AJAX Contact Form, and I need to send the form to diferents user mails,How can I do this?. I saw a old post but the code doesnt look the same.
And will be nice to find the Html version like in the example in the help file.
Thanks… Saludos my English is not so good NICE FORMULAR and Web.
December 12, 2010 at 10:27 AM
Here’s what you can do to add multiple webmaster addresses that will receive the mail:
1) In common.php,
a) AFTER
$acf_conf['webmaster_email'] = 'yorname@domain.com';ADD
$acf_conf['webmaster_email_two'] = 'name@domain.com';Make sure you add a new name too!
b) AFTER
$acf_conf['webmaster_name'] = 'Webmaster';ADD
$acf_conf['webmaster_name_two'] = 'Webmaster Two';2) Then in parse.php and parse2.php:
AFTER
$acf_mail->AddAddress($acf_conf['webmaster_email'], $acf_conf['webmaster_name']);ADD
$acf_mail->AddAddress($acf_conf['webmaster_email_two'], $acf_conf['webmaster_name_two']);December 12, 2010 at 11:10 AM
Thanks Gabriel, that was very fast Answer…
Hasta la proxima saludos.
December 15, 2010 at 9:40 AM
Can you please show me a sample code to
Redirect to a URL after Submit.
Your commented instructions within the php are un clear.
Thanks..
December 17, 2010 at 10:31 AM
From:
$acf_conf['custom_thank_you_url'] = false;Set it to:
$acf_conf['custom_thank_you_url'] = 'http://www.yourdomain.com/page.html';February 3, 2011 at 12:10 PM
Hi Gabriel, Im a bit of a newbie to all this but have managed to get this working in a Joomla article – however as soon as the form loads on the webpage ‘submitting…’ shows at the bottom – otherwise everything is fine!
Any idea what I’ve done wrong ?
Tks Jon
February 3, 2011 at 12:23 PM
I would like to see your form in action. This way I can tell you what’s wrong. Just share me the URL where you have the form ;-)
February 7, 2011 at 2:02 PM
Hi!
I bought this form and am trying to configure it but I’m not getting sucess…
When characters are written in another language like Portuguese, French or German accents or cedilla, the mail comes to us full of errors like this:
Completed: “Eu preciso de uma opinião”
Received in email: “Eu preciso de uma opinião”.
Any ideia to solve this problem?
Thank you for your attention.
Emanf
February 7, 2011 at 8:45 PM
Thanks for your purchase, Emanf! In common.php, find the line
$acf_conf['mail_charset'] = 'iso-8859-2';and replaceiso-8859-2withutf-8.February 8, 2011 at 1:52 PM
Thank you, Gabriel. Your solution solved the problem. ;)
Good work!
February 26, 2011 at 1:50 AM
Hello, your script is really awesome, i bought it a few hours ago and it works perfectly with WordPress but i have an issue with the “qTranslate” plugin, i could get the translation well but the “captcha image” appears broken. I do not why it works like this, any thoughts with this?
The code that i am using is, for example:
$acf_conf['send_message_text'] = __('[:es]Hola[:en]Send Message');This is the screen shot
Thank you in advance.
Huroman.
February 28, 2011 at 12:10 AM
I am sure that something was somehow changed for the CAPTCHA. Can you show me the form live? It would be easier for me to figure out what going on. Your screenshot is just not enough for me.
February 28, 2011 at 8:30 AM
Hi, Gabriel, please, visit my website where is the contact form clicking on my username or here:
Huriata
Ah! All the info within is just for demonstrate purpose.
Gracias.
February 28, 2011 at 11:30 AM
The file common.php does not have the qTranslate script included. You can try loading only the CPATCHA url and you will see the error. Consider removing any code from common.php that has that translation code. After you make the changes, see if the CAPTCHA works.
February 28, 2011 at 8:04 PM
My mistake, the captcha works (the field validator don’t).
But, Gabriel, if is possible, i want to make it works with that extra code in order to make the field name been translated. If i add some extra code (in common.php – i guess), only the captcha fails. Right now, i have the script like you suggest.
February 28, 2011 at 8:29 PM
Well, never mind about the validator, i just re-order the “js” scripts in header section just after my jQuery invocation. A common issue with jQuery libraries. I’m still working for translate with the plugin the field names.
March 8, 2011 at 11:11 AM
need to use the form in 2 formats – once as an order form and also as a straight contact form. I have created contact-script2.php and common2.php and parse2.php for the contact. Captcha.php calls for common.php but when I add include_once ‘common2.php’; the captcha image disappears fom both forms. Removing include_once ‘common2.php’ brings it back but both forms display an “incorrect captcha code” message.
March 14, 2011 at 11:28 PM
I know it must be a pain for you, especially if you are not a programmer, I am sorry for this. You can create instead more “contact-app” folders for each form version you need. This way it should be easier. I am working on a new version of the AJAX Form Builder, that will allow you to easily add forms to the same page or multiple pages. I will release it within a week, so you can make the upgrade (as a customer) for just a couple of bucks. The price will be higher because it has more features.
March 14, 2011 at 4:30 PM
Just bought the premium version of your contact form. I’m having some difficulties making it work right out of the box. When I use it by itself i.e. just loading a html page, it works fine; but,in my app, my pages are split in 2 parts/div: nav on the left and content on the right. I fill each part with an ajax script… something like
javascript:ajaxpage(‘contact.php’, ‘content’);
I want to use your contact form in 2 faqshions: being called from a menu i.e. “Contact” but also embeded in other pages.
I hate to mod your code because when you have updates, I don’t want to have to “research and change the code”.
I can post my “work-in-progress” url so that you can take a look at it; but, I would need to know when you might be able to look at it so that I can replace the content of my current site with this work-in-progress.
Is it possible? I’m in Dallas Texas.
Thanks
March 14, 2011 at 11:25 PM
I am currently working on a new version of the script that will allow you to implement as many forms you want on the same page and in different pages. I will release it within a week. It’s more expensive, since it has additional features, but you can upgrade from the current version (for just a couple of bucks more). I don’t suggest you to modify the current code. Instead you should create more “contact-app” folders for each form you need to add and include them where you need.
Sure, you can post your “work-in-progress”. I am doing my best to release the new version. This is the most common request from every customer: easily add multiple forms on the same page or more pages, so I am fulfilling their wish.
March 17, 2011 at 12:57 PM
Have a question before I purchase your code.
How can I determine if my server meets your requirements ?
* Either PHP4 or PHP5 Installed
* GD Library Enabled (only if you
want to use the Anti-Spam Image)
March 17, 2011 at 9:10 PM
Create a .PHP file on your server (let’s called it phpinfo.php) and add the following code inside it:
<?php phpinfo(); ?>. Run the script (e.g. http://www.yourdomain.com/phpinfo.php). You will find there all the information you need (PHP Version, whether GD is enabled or not). You can install/activate GD if it’s not already enabled.PS: Make sure you delete this file – phpinfo.php – after you check everything for security reasons.
March 18, 2011 at 4:33 AM
Gabriel,
I uploaded the “phpinfo.php” file and got back the following info(and a lot more):
PHP Version 5.2.16
and
GD Support enabled
GD Version bundled (2.0.34 compatible)
Looks like my server is compatible.
March 18, 2011 at 11:20 AM
Yes, the script can be used on your server without any problems. It would work even if you have PHP4 installed.
March 19, 2011 at 4:25 AM
One last question.
When I am developing code on my local PC before I upload to my server, how will my PC be able to run your code for the forms ?
Does my PC need to have PHP and GD library installed and if so, where can I download those ?
March 23, 2011 at 2:22 AM
You can install WampServer and run your scripts on localhost:
http://www.wampserver.com/en/
March 23, 2011 at 9:37 AM
Thanks for the link to http://www.wampserver.com.
I installed the software, BUT I’m still trying to figure out how to get it to allow me to dbug PHP code on my local PC.
March 18, 2011 at 2:45 AM
Thanks for the quick reply Gabriel – very impressive compared to other services.
I’ve had issues launching the app from within my menu – I’m sure something is conflicting with other scripts – although it would be nice, if it didn’t.
I sent you my code via separate email, can you let me know? At this point, even if there is a charge, it’s not as critical as the page being displayed the proper way.
Let me know if your revision would solve my issues?
March 18, 2011 at 11:36 AM
Jean, I got the archive. I will take a look into it. Yes, it may conflict with other scripts too, especially if you have a lot of them. Will let you know what you should do to make it work. If you still can’t (I am not sure how pro-efficient you are with PHP & JavaScript), then I can make the changes you need for a fee.
March 18, 2011 at 12:06 PM
Thanks; it’s fair.
Let me know
March 22, 2011 at 3:15 AM
Hi Gabriel,
Any feedback?
March 22, 2011 at 10:36 PM
Jean, just checked your files. It doesn’t form because the form content was loaded using AJAX and the JS files needed for the script are not even included. You can try using an IFRAME that loads the form and include that IFRAME through AJAX. OR, you can include directly the form without using AJAX. It’s up to you. I hope I was clear enough. The function that loads the pages is called
ajaxpage.March 23, 2011 at 5:39 AM
Thanks Gabriel. Using iframe is out of the question.
I’ll try some other ways and let you know the outcome.
March 24, 2011 at 7:14 PM
I don’t think using an IFRAME is such a bad idea after all. We’re talking about an AJAX Contact Form here.
March 25, 2011 at 8:09 AM
I know. I’d like to capitalize on the existing code before using something else. I’ll finalize this weekend.
On 3/14, you said “I am currently working on a new version of the script that will allow you to implement as many forms you want on the same page and in different pages.”
Are you still planning to release something?
March 25, 2011 at 11:01 AM
I have finished it, but I am working on the documentation before officially release it. I haven’t decided on the new price yet.
March 26, 2011 at 6:05 AM
I bought your script today, it works fine. I have this problem:
I want to send the content to two different persons. If work fine, too after I edit some lines. But in the mail is the info, that two persons have received the email. Example: From Mister X to emai1.de, email2.de . But i want not that both emails are shown.
I hop you understand what I mean.
March 26, 2011 at 7:50 AM
Thanks for your purchase, Jonannes! I’ve found an effective solution for your that will let you send the mail to unlimited additional persons without showing all the email recipients for each one. Here’s what you should do:
1) In common.php, AFTER
$acf_conf['webmaster_name'] = 'Webmaster';ADD the following code:
$acf_conf['webmasters'][] = array('name' => 'Second name','email' => 'name2@domain.com');
/*
$acf_conf['webmasters'][] = array('name' => 'Third name',
'email' => 'name3@domain.com');
*/
Just replace the above dummy values with the ones that you need.
Note that the commented one is to add a third person who gets the mail. For instance, to add a 4th person, continue constructing the $acf_conf['webmasters'] array just like I did for the 3rd one. I hope I was clear enough.
2) In parse.php and parse2.php, FIND:
/* --- Send the mail --- */if($acf_mail->Send()) {AFTER these lines, ADD the following code:
foreach($acf_conf['webmasters'] as $acf_conf_webmaster) {$acf_mail->ClearAddresses();
$acf_mail->AddAddress($acf_conf_webmaster['email'], $acf_conf_webmaster['name']);
$acf_mail->Send();
}
Basically, the code loops through $acf_conf['webmasters'] and sends the mail to each of the recipients. Note the usage of
ClearAddresses()andAddAddress().I just tested the code and it works fine without any problems. Good luck and let me know if you have any more problems with this script!
March 26, 2011 at 8:42 AM
Wow – good work. All works fine for me now. I have another question:
How can I edit the background from the drobdownmenu with the selcteted stuff. If i click for selctin a colored area in white is to seeing. I am using a black background so it looks not so good.
I am sure it is in the the stylesheet.css but i can not find them in this file.
Greatings
Jo
March 26, 2011 at 9:07 PM
You can edit the stylesheet.css. It’s located in the “style” folder. Look for
.acf_highlighted { background-color: #FFFFEF; }and put the color that you want ;)March 29, 2011 at 11:18 AM
Wonderful script!! No-brainer to buy. Saved me lots of time and is very easy to customize. I have one question however:
Every time the form is submitted I receive two emails. A duplicate. And I have searched and searched and tried using different email addresses but nothing changed. How can I fix this?
April 1, 2011 at 5:14 AM
Have you tried to use the
mail()function separately? Please create a file where you use mail() and let me know if you get 2 mails. This way, we will determine if there is something wrong with your host:<?php// Send
mail('yourname@example.com', 'My Subject', 'My Message');
?>
April 1, 2011 at 5:19 AM
Just tested it and it gives me only one mail.
April 1, 2011 at 5:46 AM
Consider testing using other browsers too!
April 1, 2011 at 5:40 AM
Also, the user submitting the form receives 2 auto replies.
April 1, 2011 at 5:45 AM
I would like to see the form in action. This is kinda weird, as it seems that the AJAX request is sent twice.
April 1, 2011 at 5:52 AM
Sure, I tested in Firefox and IE.
The script is located at: http://www.extreme-imports.net/contact.php
April 1, 2011 at 5:58 AM
Thanks for letting me know! This is indeed weird, but I have to admit that some customers had this problem. It seems that the AJAX request is sent twice. I will create a script that can be useful to test if really the call is made twice on your server and send it to you. Meanwhile, just delete the dupes. I know this is an inconvenience to you.
April 1, 2011 at 6:22 AM
That’s OK, we’ve just launched so the inconvenience is not that much. It will get busier soon though so I hope we can work this out. I received your test though, twice :P
March 26, 2012 at 2:07 AM
Did this ever get resolved? I’m having the same issue with the duplicate emails being sent twice.
April 3, 2011 at 4:44 PM
Hi, am considering purchasing your script for a wedding photographer site and wish to use it as a date chooser, does your script offer this option and if so how do I turn this option on?, I guess the question is how to add the calender to be picked from?
April 3, 2011 at 7:56 PM
Yes, you can easily add a date-picker. It’s available for the developer and extended versions of this script. To turn it on, you just have to set the class “datepicker” to the field element. In the script’s archive you have an example.
April 5, 2011 at 10:41 AM
I’m trying to do the following changes in the style sheet; but, can’t find it:
1. “Please, correct the errors…”, “The message has been successfully…”
Center the message, change the font size and color
2. Change the background-color of the entire form from white to something else
3. text-align: left…
Your name,
Your email,…
Much appreciated
April 5, 2011 at 11:20 AM
1) The notifications can be changed in common.php (see variable $acf_form_notifications).
2) To change the background color you have to edit the CSS file (see #acf_area: you can add a background color there).
3) To align the label text to the left edit line 18 from stylesheet.css (for Horizontal Labels Layout).
4) The form’s fields can be configured in common.php (see $acf_form_fields variable).
PS: I have released the AJAX Form Pro. The developer version is $29. As a previous customer (that purchased the single version), you can make the upgrade for a one time $20 fee. You will also get free updates for 1 year.
April 5, 2011 at 11:33 AM
Broadcast for everyone:
After countless hours of development, I am happy to announce you that I’ve released the AJAX Form Pro. It allows you to easily create unlimited forms in the same page or multiple pages, add multiple recipients that get the mail, integrate the form in a Lightbox and 2 sliders: ‘top slide in’ and ‘left slide in’.
A demo can be viewed here:
http://bit.ly/ejwdks
You can use the new script in any website that you own. The license is lifetime and you get free script updates for one year.
Let me know if you have any questions. For those who are already customers and want to get the new version, I will send you tomorrow a special upgrade link.
April 7, 2011 at 7:42 AM
Hello Gabriel, just a quick question is there any option to integrate An AJAX (jQuery) Username Availability Checker to this form? thx
April 8, 2011 at 8:30 AM
Does this form support “file uploading” ? I want my site visitors to be able to upload file(s) attachment. I also want to be able to limit extensions that can be uploaded (.zip, .doc, .pdf) etc.
I purchased this script (last version) but didn’t find anything on file uploading. Does new version support that?
Thanks,
Chin
April 9, 2011 at 7:15 AM
The new version doesn’t support yet “file uploading” but it will have this support very soon (this month) so if you decide to purchase it now (I can give you a special upgrade link since you are already a customer) you will get the feature for free since AJAX Form Pro has 1 year of free updates.
April 9, 2011 at 8:12 PM
That’s nice. I’m also interested of having this form to have a feature that visitors can upload files.
As soon as this feature is available. I’ll surely buy this script.
Thank you!
April 11, 2011 at 6:45 AM
Hi,
I want in the drobdown-menu a multiple choice. What have I do in the code? And in what file?
Thx
April 11, 2011 at 6:58 AM
You have to add the ‘attributes’ key to the field key you want:
e.g.
'attributes' => array('multiple' => 'multiple')If you want to edit the form with the ID ‘customer_survey’ than edit the
$AfbFormFields[$formId]['fields']variable (array) in the file ‘ajax-form-app/forms_config/customer_survey.php’. Don’t forget to check the documentation for AJAX Form Pro!April 14, 2011 at 11:39 AM
Hi
I’m having a problem with the error message in french could you tel me what to do
i’ve seen that the utf-8 is there so i don’t understand why
thank’s
April 22, 2011 at 8:38 AM
I suggest you to try adding the ASCII codes for the French Characters. The following URL contains enough information to help you with this problem:
http://webdesign.about.com/od/localization/l/blhtmlcodes-fr.htm
April 24, 2011 at 5:45 PM
I was too facing the same problem. Solition : modified the charset to utf8 while displaying
also if you are storing in database then it shouldh have charset as utf8
good luck
April 28, 2011 at 1:19 AM
Hi, 2 questions:
1. I bought your script 2 months ago, right now there’s a new version, do i have to pay for the update?
2. I need to get some data from WordPress’ Post and send it trought your (excellent) script. If it’s possible, is there anyway to do this?
In advance, thank you.
Huroman
April 28, 2011 at 1:45 AM
1. Yes, it’s a new script that also has free updates for 1 year. I will send you a mail as soon as possible explaining how to upgrade to the new script.
2. I am not sure how you want to get the data. Do you want to pass some values to the AJAX Form Script? To be shown in the form?
April 28, 2011 at 2:44 AM
Thank you for your fast reply and yes, i need to get (attach) some data from the post (the_title, the_content, for example) and send them with 2 fields to me (name and customer’s email).
April 28, 2011 at 2:46 AM
Alright, I can help you with the integration for a small fee. We’ll discuss about this on private.
April 29, 2011 at 10:40 PM
Hi,
I’ve bought the extended version of your script – just can’t seem to figure out where to set the webmaster email and name.
Error : The webmaster’s information is not set in form’s configuration (name & email).
Can you please help?
Many thanks.
April 29, 2011 at 10:46 PM
In the folder “forms_config”, open the file associated with the form (example: contact_us.php; the ID of the form is ‘contact_us’). Then look for the following code:
$AfbFormFields[$formId]['config']['webmaster'][] = array('name' => '', 'email' => '');Set the empty values with the ones you want (your name/nickname and your email address where you want to receive the information that is submitted by the users).
June 1, 2011 at 7:43 AM
Hi Gabriel,
I purchased the developer version of your script in January. I saw on your site that the new Pro version would only be the price difference between the scripts. However, I don’t see any upgrade options to purchase – how do I upgrade?
Thanks
June 1, 2011 at 8:15 AM
I’ve sent you a discount code and the purchase links to your e-mail address.
July 18, 2011 at 7:37 AM
Please help me to understand and solved this error:
Warning: array_map() [function.array-map]: The first argument, ‘Array’, should be either NULL or a valid callback in /home/job01/public_html/forms/Taca/includes/class.ajax.form.pro.php on line 156
form loads but after hitting submit I got this error. thank you in advanced.
July 18, 2011 at 7:56 AM
Consider replacing that line (156) with the following:
return is_array($str) ? array_map(array('Ajax_Form_Pro', 'FilterArray'), $str) : trim(stripslashes(htmlspecialchars($str)));That error occurs in some PHP versions but the one above should work for all. If you send me (via email) your transaction ID, I will send you the latest version of AJAX Form Pro.
July 20, 2011 at 3:18 AM
Hi Gabriel,
i want to use use this example on my site.
Url:http://www.bitrepository.com/demo/ajax-form-pro-dev-3/examples/slide-feedback.php
I bought this product. Please help me to implement it.
Thanks
Raja
July 20, 2011 at 8:07 PM
I’ve checked the web page where you tried to setup the product. The path to the scripts is not set properly. Consider editing common.php.
Find the line:
$root_path = $ROOT_URL.'demo/ajax-form-pro-dev-3/';Change it to:
$root_path = $ROOT_URL;This should work. Looking forward to see the changes.
July 21, 2011 at 11:56 PM
Hi, Gabriel.
This may be a silly question, but…
Obviously AJAX Form Pro is a contact form with email autoresponder.
But it looks so good — and has nice ajax and validation and CAPTCHA features — that I was wondering whether I can use it for other purposes where I do NOT need a contact form or autoresponder. :-)
In other words, can I specify my own custom form action to do something else, and not even have an autoresponder or email message sent?
Thanks!
July 22, 2011 at 12:34 AM
AJAX Form Pro can be used to create custom forms. It is not just a simple AJAX Contact Form. You can create professional interactive and secure forms with this product. Check the “Live Preview” and you will see some samples in action.
July 22, 2011 at 4:43 AM
Yes, but all the “Live Preview” examples appear to be sending the post data in an email, right? Can I use your nice looking forms with my own custom action procedure to submit the post data and NOT send an email? And can I do both — my own action, AND send an email?
July 22, 2011 at 6:40 PM
Yes, you can. The data is processed in one file called parse.php. You could stop the sending of the mail and insert the data into MySQL or do whatever you wish with it (store it in a text log etc.).
August 30, 2011 at 12:06 AM
Hi,
I’m currently using the contact form on my contact page, but I would like to add another form.
However, I want this form on different pages, and use the page title as the subject line. (so that the car’s name is in the subject line and I know what car the customer is contacting me for)
The form is supposed to go where the xx’s are on this page: http://www.extreme-imports.net/speclist/00047.php
I know you can remove certain fields in the config file, but I don’t know how I can use the page title as the email subject.
My page title is called in php from an external file to support multiple languagues using the echo command.
September 12, 2011 at 9:09 PM
Could you recommend anyone that could help customize the script to my specific needs? Or do you offer an option?
I need a free quote form, where customers fill out the details and depending on their input and selection generate a custom quote with prices that have been added to a database?
After the customer inputs their information, the quote has to be generated and then create a custom email, with their details and custom quote and email it to them.
How can I make this possible?
Please help!
December 11, 2011 at 4:06 AM
Hi to all experts here, I’m a newbie in form creation.
May I know how is it possible to create Input field next to checkboxes ?
Eg. Others (Please Specify) Input Field
December 30, 2011 at 1:36 PM
For people who seem to be receiving auto responder emails twice, the issue can be fixed in the forms_config/contact.php (or whichever form you’re using).
Either have ‘Send a copy of the mail to customer if checked’ feature enabled, or the auto_responder enabled. If both are enabled and the customer checks the ‘send a copy to me’ box on the form, they will receive 2 emails.
February 4, 2012 at 9:17 PM
Does the script support sending the IP address of the person filling out the form?
Does the script sanitize the inputs (not just validate) so that html/script code cannot be entered into the comments box and cause problems on the website?
February 4, 2012 at 10:57 PM
Yes, the IP address is captured and also recorded in the DB for later view. All the fields are sanitized before the form data is inserted into the mySQL database.
April 3, 2012 at 5:08 AM
hey i have a premium version, but i can’t how to change the path settings
can any one get me out of this error