Code

Discussion on PHP Form Builder

migli

migli supports this item

Supported

This author's response time can be up to 1 business day.

492 comments found.

Hi

Is it like wufoo.com clone ? Can I upgrade this Angular JS ? Or If I want it to make on Angular JS then will this help me ?

Thanks

Hi,

Not at all, PHP Form Builder is written in & for PHP.

Have a look at the documentation, templates & codes, it should help you to understand how it work.

can you please tell me that this php script is can be modify on our requirements like if we want to add custom fields

Hi,
Of course you can do anything with PHP Form Builder. Have a look at the templates, codes & documentation, it should help.

Basically you have to use the built-in function to build your form, that’s the way it works.

Hi does this support multi user account so each user can make own forms ?

Thanks

Hi,

I don’t know exactly what you mean with “multi user account” but:

- The registration allows 1 phpformbuilder location, which means that the package has to be located in a unique place on your server

- the License is the Standard Codecanyon License, in short: 1 purchase = 1 project.

Gilles

Nice script, Can you help me with digital signature integration with form? Like this one https://willowsystems.github.io/jSignature/#/demo/

Hi,

This one looks nice & a bit more simple: http://bencentra.github.io/jq-signature/

Yes I can help if you send me your url & ftp

Gilles

how to add select2 option such as “dir”=>’rtl’ , I want to use it in all select2 option. in which file should I add it ??

Hi,

Copy phpformbuilder/phpformbuilder/plugins-config/select2.xml into phpformbuilder/phpformbuilder/plugins-config-custom/select2.xml

Then edit & customize as you like. Each xml node is a plugin config, you can add new ones & call it with for example:

$form->addPlugin('select2', '#your-select', 'your-config');

Don’t add the class=select2 when you create the select, as you’ll call the plugin manually (select2 class activates the plugin automatically with the default config).

If you need anything else you’re welcome,

Gilles

Thanks for reply , it’s working

I have another problem, when I tried to use upload tools it give me this error

Uncaught TypeError: $(...).fileuploader is not a function

what is the problem ? what I have to do ?

also It not take the bootsrap css design :(

I answered your email – solution here:

https://www.phpformbuilder.pro/documentation/help-center.html#plugins-don-t-work

Feel free to send me your url & ftp if you want me to have a look,

Gilles

md_hedji

md_hedji Purchased

hello, can I somehow send a thank-you page after completing the form? This is necessary to track Facebook leads only for those who filled out the form. thanks

Hi,

Thanks for purchase.

The best way is to send the form to its own url, validate & do what you want, then use PHP Header if all was successful.

For example:

if ($_SERVER["REQUEST_METHOD"] == "POST" && Form::testToken('contact-form') === true) {
    // create validator & auto-validate required fields
    $validator = Form::validate('contact-form');

    // check for errors
    if ($validator->hasErrors()) {
        $_SESSION['errors']['contact-form-1'] = $validator->getAllErrors();
    } else {
        // send email
        Form::clear('contact-form-1');
        // now redirect
        header('Location:thank-you.html');
    }
}

$form = new Form('contact-form', 'horizontal', 'novalidate', 'bs4');
...
md_hedji

md_hedji Purchased

great thanks

md_hedji

md_hedji Purchased

One more question since I did not find it in the documentation, I want to send data from the form to telegrams, how can I get the data that was entered in the form in order to forward it to telegrams. To send data telegram i use somethink like this code

$token = "myToken";
$data = [
'text' => 'Here i Want data from form',
'chat_id' => 'myChatID'
];
file_get_contents("https://api.telegram.org/bot$token/sendMessage?" . http_build_query($data) );

Your $data is an array, similar to PHP $_POST

You may not want to send all the $_POST values.

To show them on your page:

var_dump($_POST);

To populate your $data:

$data = [
'text' => $_POST['text'],
'chat_id' => $_POST['chat_id']
];

If you need anything else you’re welcome,

Gilles

Unfortunately, installation failed because of this reason: An unknown error occurred (probably database failure or unauthorized modification of data), It wont let me register, even tho i see it generated a liscence file at one point?!

Hi Schoaf,

Thanks for purchase.

Can you please contact me and send me your installation url + your purchase code?

I’ll see what happens as soon as I receive.

Thanks,

Gilles

EDIT:

I just saw your messages on chat.

I removed your installation and relaunched. It worked fine, your form is ok now.

Maybe you registered without www? (currently it fails if you use different versions with/without www ; in the next update it’ll be ok)

If you need anything else you’re welcome,

Gilles

Hello, pre-sale question can this builder used to have file upload with password to view the files? i mean as admin to have password to see the files

Hello,

PHP Form Builder can do anything, all depends on what you want exactly and your programming skills.

I don’t know exactly what you need (not clear), but if you need an admin panel with authentication, add/edit/delete forms with file uploads and specific users rights (profiles) you may have a look at PHPCG, can be a good solution: https://codecanyon.net/item/php-crud-generator/22032357

If you need anything else you’re welcome,

Gilles

let me tell you the steps again am asking if your code doing that without any code editing.

1- user fill the form and upload file. 2- i get email notification including link of the uploaded file 3- when i open that file i get a password to enter ( for security reasons )

That’s more clear now.

Your question is not really related to the upload form itself, but to the download once the files are uploaded.

Here’s how I’d achieve this: 1. I’d locate the download folder outside of the www root folder & protect it with a .htaccess “deny from all”

2. I’d create an encrypted link into the email leading to a php file which receive the encrypted code

3. The php file test the encryption and if it’s ok send the file with a header.

This can help: https://stackoverflow.com/questions/3166792/password-protected-directory-and-files-in-php (answer from Pierre Espenan)

yuzurin

yuzurin Purchased

Hi,

I’ve some questions in the chat windows about this:

I want to ask about: how to create a registration form with email capability and some of the input going to table_1 and the rest to table_2 second, I want that form to produce a registration number and queue when Submit button is hit. Is there any capabilities for that purpose ?

Fyi, I’m novice in PHP.

migli

migli Author

Hi,

I just answered at your chat message.

Gilles

brunog14

brunog14 Purchased

Hello, I bought your PHP Form Builder script.

I do not see how to register the license of this script! Can you help me ?

Thank you

brunog14

brunog14 Purchased

Sorry … I was misreading !!! I found …

migli

migli Author

Hi Brunog,

Thanks for purchase. So I won’t help now, no need, but feel free to contact me at any time.

I always write in English here but I’m French like you.

Gilles

hi ! i have a problem the templates page says : Your copy of PHP Form Builder is NOT authorized. About PHP Form Builder License

migli

migli Author

Hi,

Thanks for purchase.

Could you please send me your ftp, your URL and purchase code? I’ll see what happens & solve this quickly.

Gilles

It was my mistake, I already registered i :P

could you help me with the following?

I need two forms, one for HR with an attachment and the other to select the sector of the sector (each sector is a different email).

if you can help me with that, it would be great!

thank you

migli

migli Author

I’ll help, no problem. Please first do what you can, then contact me & send me access for help when you come out of your skills

by
by
by
by
by
by