1032 comments found.
F this script! I’ve tried every which way to make it work and nothing. Other form scripts work beautifully. Your installation guide can be very vague.
Hi,
If you have any constructive and specific comments to improve the documentation, I’ll take them into account.
If you need clarification or help, just ask a specific question.
For the moment I don’t see how I can help you.
Thanks.
What is the licensing system for PHP Form Builder?
Is it restricted to specific domain name(s)? If so, how many? just one?
Hi,
Yes, according to the Codecanyon licence terms it’s 1 domain / licence.
PHP Form Builder allows a second one for development.
Eveything is explained here: https://www.phpformbuilder.pro/documentation/help-center.php#licensing-system
If you need anything else you’re welcome,
Gilles
Hello,
One weird thing that should be explained in the documentation is simply this: where are we supposed to put the generated or sample files? (answer seems to be: in the folder containing the phpformbuilder folder)
And also that we need to change the path in the sample if we don’t have phpformbuilder folder in the webroot.
Else I’m facing various issues installing the sample from this page: https://www.phpformbuilder.pro/documentation/quick-start-guide.php(I’ve changed line 13 from the sample because my file and my phpformbuilder are in a subfolder called “p”)
1)
Deprecated: Creation of dynamic property phpformbuilder\Form::$js_fields is deprecated in /home/mysite.com/p/phpformbuilder/traits/Plugins.php on line 179
2) Warning: php_strip_whitespace(/home/mysite.com/p/phpformbuilder/plugins/icheck/skins/ theme / color .min.css): Failed to open stream: No such file or directory in /home/mysite.com/p/phpformbuilder/traits/Internal.php on line 212
this site is running PHP 8.2
Any idea?
Thanks,
Hi,
I answer you here in English but for information I’m French too.
where are we supposed to put the generated or sample files?
It depends on what you call the sample files”.
From the Quick start:
Add the phpformbuilder folder at the root of your project.
If you want to put the phpformbuilder folder inside a subfolder, please read this to avoid PHP errors or warnings.
Then the templates can be at any place on your server, it doesn’t matter.
1) About the Deprecated message: this is thrown by PHP since PHP 8.2 ; I’m using MAMP PRO and it’s not PHP 8.2 ready yet, but as you report this issue I’ll find another local server, test and publish a new release.
2) You probably have an error in your code when adding the iCheck plugin. The documentation is here: https://www.phpformbuilder.pro/documentation/javascript-plugins.php#icheck-example
If you need anything else you’re welcome,
Gilles
Thanks,
So using php 8.1 solves the point 1)
The point 2) isn’t solved and it’s using the “Complete page code” sample found here:
https://www.phpformbuilder.pro/documentation/quick-start-guide.phpObviously with the include_once path fixed to match my subfolder.
Since it’s the “quick start” sample I don’t think I need more than just changing the install path in the include_once at the top?
Here the message because CC editor eat the percent signs:
Warning: php_strip_whitespace(/home/mydomain.com/p/phpformbuilder/plugins/icheck/skins/%theme%/%color%.min.css): Failed to open stream: No such file or directory in /home/mydomain.com/p/phpformbuilder/traits/Internal.php on line 212
it looks like the addPlugin function didn’t replace the theme and color by ‘square’ and ‘red’ as it is supposed to do.
Do you have any other idea?
Edit, found the issue, the sample code isn’t correct.
Line 38 of the Complete page code shouldn’t have any percent signs.
i.e. this:
$form->addPlugin('icheck', 'input', 'default', array('%theme%' => 'square', '%color%' => 'red'));
Should be:
$form->addPlugin('icheck', 'input', 'default', array('theme' => 'square', 'color' => 'red'));
My mistake, sorry!
I just update the Quick start page, there was an error.
In previous versions we had to set the plugins values wrapped with a ’%’ sign, but it has changed and I forgot to report the change in this part of the documentation.
<?php
// Old ugly code with the percent signs
$form->addPlugin('icheck', 'input', 'default', array('%theme%' => 'square', '%color%' => 'red'));
// Replace with this new nice code
$form->addPlugin('icheck', 'input', 'default', array('theme' => 'square', 'color' => 'red'));
Thanks for reporting this, If you need anything else you’re welcome,
Gilles
Hello. How to uninstall my licence? I changed of webhost, and my form doesn’t work anymore!! I bougth another licence and still not working!! Please help me!
Hi,
I just answered your email.
Is your form script hosted by you (i.e. widget) or can it be installed in my website? Can the user fill some information save the form and come back later to fill the rest of the remaining info? Can the forms be prefilled with some information to save time for the user and let him only update what is needed? Thanks
Hi,
The script is not hosted by me, you have to upload it on your server.
You can store the information like you would do with any form, for instance save the data into your database or use the browser Local Storage.
You can prefill the form using the PHP session variables, e.g.:$_SESSION['my-form']['name'] = 'John Doe';or set default values.
I can help you with this kind of stuff, I’ll ask for your FTP access, but won’t help with CMS integration.
If you need anything else you’re welcome,
Gilles
But the chargue is on my account
i bought this item and was charged to my card but i cant download it
Hi,
I can see that you didn’t buy PHP Form Builder. There’s something wrong somewhere on your side.
We would like to use this for our SaaS product, which license is good to go
Presale question, can I have a form field that can be masked out? Such as with a social security number?
Hi,
Yes, you just have to use the “pattern” attribute on your input.
For instance:$form->addInput('text', 'social-sec-num', '', 'Social security number', 'pattern=^d{3}-d{2}-d{4}$, placeholder=xxx-xx-xxxx, required');
It’ll work with the real-time validation plugin and you can customize the error message if you want.
If you need anything else you’re welcome,
Gilles
google adsence ready yes or no ?
Hi,
I don’t see any relation between forms and Google adsense
How to add custom validator form.fv and create custom validator for example Fiscal Code for Italy I have try but I can’t understand how to registry new function on our software
Hi,
Here’s explained how to customize a plugin (the plugin’s JS code): https://www.phpformbuilder.pro/documentation/javascript-plugins.php#customizing-plugins
If you can use a Regex the “regexp validator” will be an easy way: https://formvalidation.io/guide/examples/using-html-5-inputs-and-attributes/ to setup your validation straight into the HTML code,
else you’ll have to edit phpformbuilder/plugins-config/formvalidation.xml
Duplicate this file in the phpformbuilder/plugins-config-custom folder to preserve the original, then make your changes.
Here’s how to create a custom validator: https://formvalidation.io/guide/examples/creating-a-custom-validator/
If you need anything else you’re welcome,
Gilles
i have add my custom validator but not work on frontend…
Looks like the demo site is down
Hello, Thanks for reporting. The hosting service has been down for a few minutes, it happens very rarely, no luck, but now it’s up.
If you need anything else you’re welcome
Hello, Just bought your script. And is really very good. I have a question. How can i change or remove the Header image in mails that we get from the form submission. now it shows a Large image (PHP form builder)
Still waiting for your reply…
Please issue refund if you dont want to help
If you dont want to help. Just REFUND me. Whats the use of such script thats of no use without any support.
Hello VRocks,
My apologies, I am truly sorry for the delay.
I usually respond within 24 hours, but to tell you the truth my mum had a serious health problem and I had to stay by her side 24 hours a day, I had to suspend all my activities.
If you want a refund I understand of course, you have to make the request here: https://themeforest.net/refund_requests/new
About email sending, everything is explained here: https://www.phpformbuilder.pro/documentation/class-doc.php#sendMail
If you’re using the default template you can edit the template files, which is phpformbuilder/mailer/email-templates/default.html and replace the header image with yours.
If you need anything else you’re welcome,
Gilles
Sorry to hear that. I hope your mum is ok now. Please take care of her.
Thanks so much
Hi, i have downloaded the zip file and uploaded to my webserver https://cargen.co.tz/phpforms/templates/index.php
When i clicked on template, i got an error This page isn’t working Error 500
https://cargen.co.tz/phpforms/templates/bootstrap-5-forms/input-with-addons.phpCan you please help and guide me how to resolve this?
Hello,
My apologies, I am truly sorry for the delay. I usually respond within 24 hours, but to tell you the truth my mum had a serious health problem and I had to stay by her side 24 hours a day, I had to suspend all my activities.
You put the templates folder into a subfolder (“phpforms”), and I guess that the phpformbuilder folder is in the same subfolder.
If you put the “phpformbuilder” folder at the root of your project it’ll work fine, else if you want to keep it into the subfolder you have to change all the “include_once” statements in the templates to match your subfolder.
This is explained here: https://www.phpformbuilder.pro/documentation/help-center.php#warning-include_once
And about error 500: you should turn display_errors On in your PHP configuration to display the error messages on screen: https://www.phpformbuilder.pro/documentation/help-center.php#white-page
If you need anything else you’re welcome,
Gilles
Hello when I try to use my script here is the error it gives me https://ibb.co/G9w6mxS
Hello,
Thank you for your patience and I apologize for the delay in responding. I had to put all my activities on hold due to a family emergency.
Maybe you solved the problem in the meantime, but the solution is explained here: https://www.phpformbuilder.pro/documentation/help-center.php#your-copy-of-php-form-builder-is-not-authorized
If you need anything else you’re welcome
Looking through your documentation, you require the Form Builder to connect and verify every time a form is loaded. What if your license server is down? You can’t guarantee 100% uptime. So what happens if your server is down, my site wouldn’t be able to process form requests?
Hi,
The license system doesn’t ping the server every times. Since 9 years I haven’t had any complaint, the server is up like most servers 99.99% of the time.
If someday for any reason I’d have to remove the license system everything is ready to do it.
Many others paid plugins work this way (wp plugins, ...)
Pre-sales question: Hi, I have a question for you. Is it possible with your plugin, to do something like this. I want to have a form that walks someone through a house. Each room needs to be described. For each room there will be a drop down menu to indicate the room, and then dropdown questions like floor material, condition ect. But at the end of the first section of the form, I want to give them the choice to submit their form, or add another room. I want them to be able to add another room for as many rooms as they need to add, and then submit the form when they’re done. Is this possible with your form?
Hi,
Yes, PHP Form Builder is well-adapted for this.
Here are some examples with dynamic fields: https://www.phpformbuilder.pro/templates/index.php?framework=bootstrap-5&forms=dynamic-fieldsThe most elegant way is to use the FormExtended class and create a single function that will add all the new rooms fields at once. Examples here: https://www.phpformbuilder.pro/templates/index.php?framework=bootstrap-5&forms=extended
Note that this can’t be done with the drag & drop form builder, you have to use code & functions.
You also can create dropdown on the dly depending on a parent select value: https://www.phpformbuilder.pro/templates/bootstrap-5-forms/dependent-select-dropdown.php
If you need anything else you’re welcome,
Gilles
Amazing! Next, I’m wondering if there are any practical limits to this. For example, if I have ten different room types, and each room type has something like 10 differenent questions to be answered, is that too much? Can the plugin handle that many? If yes, can it handle more? What would be the limit? Thanks!
There’s no limit, PHP can handle this easily and load this kind of things at a glance.
Hi, and my last question is this: I have zero programing knowledge. Usually I run a plugin on my wordpress site and create a form then just insert the shortcode. Does your plugin (not even sure if it is a plugin??) require any codeing experience?
Hi,
If you have zero coding knowledge you can build your forms with the Drag & drop form builder.
Many things can be done with it, but not everything (no file upload, no step form, ...)
Before buying I suggest you to test it on the official website here: https://www.phpformbuilder.pro/drag-n-drop-form-builder/index.php
Scoll down to view the tutorial.
- Create your form & add your fields
- In the “General settings”, open the “Ajax loading” tab and enable Ajax loading ; setup the form action and others settings.
- Click the “get code” button and see if you understand how to copy / paste the generated code to your Wordpress
- save your form to disk.
Then if you buy it you’ll be able to reload your form into the drag & drop.
If you just upload the files on your server & register your form will work.
great, and if I buy your plug-in and I created form using the drag and drop builder then how do I get it working in my website? Is there a plug-in I need to add or is it a short code or something that I need to add to the page? I don’t need a full explanation just the briefest possible exclamation will do. thank you
Everything is explained here in the tutorial: https://www.phpformbuilder.pro/drag-n-drop-form-builder/index.php#tutorial
We are interested in some advanced features. Can your product do the following: 1> Design a 2 column form (right and left)? 2> Is it possible to write to two separate tables on submission where some values insert to table1 and other values insert to table 2 (see attached screenshot) 3> Can we display read-only fields that retrieve and display multiple records? We want to have a notes field that can be used to add notes to a separate “notes” table and then loop through and display all that are related to the record. (see screenshot)
Example image: https://pasteboard.co/aU2u9XJsVjPZ.jpg
Hi,
The answer is “yes” for everything.
PHP Form Builder can do anything, but some things depend on your programing skills.
Building a 2-columns form is straight forward, with horizontal forms: https://www.phpformbuilder.pro/documentation/code-samples.php#input-groups
and vertical forms: https://www.phpformbuilder.pro/documentation/code-samples.php#columns
After validation you can do anything you want using PHP $_POST values.
The PHP DB PDO class make database insert / update easy: https://www.phpformbuilder.pro/documentation/class-doc.php#database-overview
“readonly” just has to be set in the fields attributes.
The drag & drop form builder should be enough to make most of the things you need, but you’ll have to edit the code a bit, at least to make your database requests.
If you need anything else you’re welcome,
Gilles
Awesome… thanks!!
You’re welcome
Hi. PHP Form Builder has step and modal examples, but. Is it possbile and how to create a multistep modal form?
Hi,
PHP Form Builder has everything to make this, but I can’t explain how to within just a few words.
In short, I would:
- create the first step in enabling the modal plugin - load the further steps with Ajax into the same modal without reloading nor closing the modal.
This is the logic, then you have to make your own code.
Is it possible to use your solution for voucher validation? The worker insert the voucher code and check if is valid or not and the text (products), running against DB ? Is it possible to add rechapta to avoid brute force?
Thanks
Hi,
To validate voucher I suppose you’ll have to get a list of valid codes in your database or from JSON, so you’ll have to create a custom validator: https://formvalidation.io/guide/examples/creating-a-custom-validator/
Recaptcha & HCaptcha are ready to use: https://www.phpformbuilder.pro/documentation/javascript-plugins.php#recaptchav3-example
If you need anything else you’re welcome,
Gilles