migli

migli supports this item

Supported

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

310 comments found.

tadiasse

tadiasse Purchased

Hi,

Before buy your plugin, I have a question. It’s possible to change (autocomplete) fields if user change an another field. For exemple if I write zip code, city change automatically (with ajax requierry).

Thank you very much.

Hi,

Yes, you can use ajax like you would do with any html form.

This comment is currently being reviewed.

MWNS

MWNS Purchased

Everything works fine, great plugin! I can upload the files, now I want to store the names of the files in the database, how can I do?

MWNS

MWNS Purchased

Question, should this be programmed in defaultFileUpload.php?

migli

migli Author

No, you have to put this in your main file, when form is posted & validated.

MWNS

MWNS Purchased

thank you!

randomseq

randomseq Purchased

Hi

Just purchased your product and was wondering if this can be achieved:

• Use exisiting form HTML/css I have set up • Apply required php form builder code to get it running

I can see you can apply bootstrap template and then change CSS. If I have all this set up can just applying code folders/ code work.

Thanks in advance

Kim Hiwell

randomseq

randomseq Purchased

Hi Gilles,

No problem understand.

I have tried to set up a form now and trying to add the code to my html file. It doesn’t seem to be working.

I’ll email you my html code and the amends to the plugins-path.php file.

I think I have set up correct but doesn’t seem to work.

One question on this all your code can be added to an exisiting html file without changing file extension to PHP?

Kim

migli

migli Author

Hi Kim,

You have to change your file to .php.If you want to keep .html for users you can use htaccess to redirect html to php.

I’m online, if you want quick live help we can use Teamviewer : send me ID & pass using my contact form

randomseq

randomseq Purchased

just sent details

MWNS

MWNS Purchased

Hello, I have problems putting a date type field inside a dependent field, you know how I can fix it?

migli

migli Author

Yes, I fixed it but update isn’t published yet.

  1. Open phpformbuilder/plugins/dependant-fields/dependant-fields.css
  2. cut “overflow: hidden;” from .hidden-wrapper and paste it to .hidden-wrapper.off
  3. minify file to phpformbuilder/plugins/dependant-fields/dependant-fields.min.css
MWNS

MWNS Purchased

Thank you! I used the default theme and solved everything :)

MWNS

MWNS Purchased

Another question, how can i change the language of the months in date type fields? Thank you

migli

migli Author

Each plugin has a corresponding xml file in plugins-config dir.

Open pickadate.xml, you’ll find a node with french config. Duplicate this node, rename it and change french to your language, then call plugin in your form with your custom config, using the xml node name :
$form->addPlugin('pickadate', '#field-name', 'pickadate-french'); // replace pickadate-french with your xml node name
MWNS

MWNS Purchased

thank you

MWNS

MWNS Purchased

Hello friend, some way to use two file configuration files fileupload.xml? I need some settings in a form with attachments and another setting in another form, you could tell me what I should do to be able to use two .xml files, one for each form

Hi Migli, thx again for your great plugin … I`ve got an error I don`t know how to deal with it.

foreach($_SESSION[‘storlist’] as $arrstorl){ print_r($arrstorl); $form->setCols(2, 2); $form->addInput(‘text’, ‘storage-nr’, $arrstorl[‘storage_id’], ’’, ‘required’); $form->setCols(0, 3); $form->addOption(‘the-padlock’, ‘Padlock)’, ‘Padlock (10 €)’); $form->addOption(‘the-padlock’, ‘Personal padlock’, ‘Personal padlock’); $form->addPlugin(‘bootstrap-select’, ’.selectpicker’); $form->addSelect(‘the-padlock’, ’’, ‘class=selectpicker show-tick, required’); $form->addPlugin(‘bootstrap-select’, ’.selectpicker’); $form->addSelect(‘the-alarm’, ’’, ‘class=selectpicker show-tick, required’); $form->setCols(0,3); $form->addOption(‘the-alarm’, ‘Alarm)’, ‘Alarm (15 € for 28 days)’); $form->addOption(‘the-alarm’, ‘Without alarm’, ‘Without alarm’); $form->addPlugin(‘bootstrap-select’, ’.selectpicker’); }

The Output is (when 3 arrays are available: Array ( [storage_id] => 295 [padlock] => 1 [alarm] => 1 ) Array ( [storage_id] => 204 [padlock] => 1 [alarm] => 1 ) Array ( [storage_id] => 215 [padlock] => 1 [alarm] => 1 )

And at form renders the input texts are shown correctly from 0-2 arrays, but the “Select Option” forms are shown in a wrong way:

at the first array its correct. at the second array the options are 2 times (means, I can select between Padlock (10 €), Personal Padlock, Padlock (10 &euro), Personal Padlock, the same with the Alarm at the third array, the options are shown 3 time (mean, I can select between Padlock (10 €), Personal Padlock, Padlock (10 &euro), Personal Padlock, Padlock (10 &euro), Personal Padlock.

I don`t know, where the error is, when I choose “nomal bootstrap-html” like $form->addHtml(’<select class=”selectpicker”> // <option>Padlock</option> // <option>Personal Padlock</option> // </select>’);

it works the right way.

So perhaps can you help me?

Thx in advance, I hope I could explain the problem in the right way.

migli

migli Author

Hi Kjetilsusi,

the error is due to your input select names.

On each loop your input and selects has same name whereas each should have a unique name.

Solution is to increment index and use it with select names :

<?php
$index = 1;
foreach($_SESSION['storlist'] as $arrstorl){
    print_r($arrstorl);
    $form->setCols(2, 2);
    $form->addInput('text', 'storage-nr' . $index, $arrstorl['storage_id'], '', 'required');
    $form->setCols(0, 3);
    $form->addOption('the-padlock' . $index, 'Padlock)', 'Padlock (10 €)');
    $form->addOption('the-padlock' . $index, 'Personal padlock', 'Personal padlock');
    $form->addSelect('the-padlock' . $index, '', 'class=selectpicker show-tick, required');
    $form->setCols(0,3);
    $form->addOption('the-alarm' . $index, 'Alarm)', 'Alarm (15 € for 28 days)');
    $form->addOption('the-alarm' . $index, 'Without alarm', 'Without alarm');
    $form->addSelect('the-alarm' . $index, '', 'class=selectpicker show-tick, required');

    $index ++;
}

// no need to add plugin into loop
$form->addPlugin('bootstrap-select', '.selectpicker');

Once posted, you can use same index and loop into posted values.

If you need anything else you’re welcome,

Gilles

Thanks so much for your help

migli

migli Author

you’re welcome

Hi Migli, thx again for your great plugin … I`ve got an error I don`t know how to deal with it.

foreach($_SESSION[‘storlist’] as $arrstorl){ print_r($arrstorl); $form->setCols(2, 2); $form->addInput(‘text’, ‘storage-nr’, $arrstorl[‘storage_id’], ’’, ‘required’); $form->setCols(0, 3); $form->addOption(‘the-padlock’, ‘Padlock)’, ‘Padlock (10 €)’); $form->addOption(‘the-padlock’, ‘Personal padlock’, ‘Personal padlock’); $form->addPlugin(‘bootstrap-select’, ’.selectpicker’); $form->addSelect(‘the-padlock’, ’’, ‘class=selectpicker show-tick, required’); $form->addPlugin(‘bootstrap-select’, ’.selectpicker’); $form->addSelect(‘the-alarm’, ’’, ‘class=selectpicker show-tick, required’); $form->setCols(0,3); $form->addOption(‘the-alarm’, ‘Alarm)’, ‘Alarm (15 € for 28 days)’); $form->addOption(‘the-alarm’, ‘Without alarm’, ‘Without alarm’); $form->addPlugin(‘bootstrap-select’, ’.selectpicker’); }

The Output is (when 3 arrays are available: Array ( [storage_id] => 295 [padlock] => 1 [alarm] => 1 ) Array ( [storage_id] => 204 [padlock] => 1 [alarm] => 1 ) Array ( [storage_id] => 215 [padlock] => 1 [alarm] => 1 )

And at form renders the input texts are shown correctly from 0-2 arrays, but the “Select Option” forms are shown in a wrong way:

at the first array its correct. at the second array the options are 2 times (means, I can select between Padlock (10 €), Personal Padlock, Padlock (10 &euro), Personal Padlock, the same with the Alarm at the third array, the options are shown 3 time (mean, I can select between Padlock (10 €), Personal Padlock, Padlock (10 &euro), Personal Padlock, Padlock (10 &euro), Personal Padlock.

I don`t know, where the error is, when I choose “nomal bootstrap-html” like $form->addHtml(’<select class=”selectpicker”> // <option>Padlock</option> // <option>Personal Padlock</option> // </select>’);

it works the right way.

So perhaps can you help me?

Thx in advance, I hope I could explain the problem in the right way.

azk613

azk613 Purchased

Hi, I purchased this script today. I cannot access any of the templates. when I try I get the following error. Fatal error: Class ‘phpformbuilder\Form’ not found in /home/**/public_html/form/templates/bootstrap-forms/validation-with-jquery-example-form.php on line 45

Please advise,

migli

migli Author

Hi Azk613,

Thanks for purchase.

Please see answer here : https://www.phpformbuilder.pro/documentation/troubleshooting.html#fatal-error

and contact me again if you need more help (you can send me ftp via my contact form

Gilles

by
by
by
by
by
by