migli

migli supports this item

Supported

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

345 comments found.

gelidan

gelidan Purchased

Hi Migli!

First of all: Thanks for the awesome library!

I have a complex form with some groupInputs. Everything works like a charm, except Jquery validation. The formvalidator plugin marks the entire form-group div with has-error or has-success. Is there a way, to mark the input fields separately?

Your example works like this too: https://www.phpformbuilder.pro/templates/bootstrap-forms/order-form.php

Thanks, Gelidan

gelidan

gelidan Purchased

Hi migli!

I have a viable solution.

I created two css classes: icon-success and icon-error with only color codes.

I modified the xml file, to show the icons: icon: { valid: ‘glyphicon glyphicon-ok icon-success’, invalid: ‘glyphicon glyphicon-remove icon-error’, validating: ‘glyphicon glyphicon-refresh’ }

And after the closing tag i added these lines to thx xml file:

var inputs = $(’.form-group.has-feedback :input[required],:radio[required],:checkbox[required]’); $(inputs).each(function () { var parentDiv = ”.”+ $.trim($(this).parent().parent().get(0).className); var divName = $(this).attr(“name”); $(“ selector “).formValidation(‘addField’, divName, { row: {parentDiv} }) });

It searches for the required tags, and register them with the addField method. This way, you can specify the container div, and the error icon / success icon only shows for the correct input, not for the whole line.

I hope it helps. Gelidan

Hi Gelidan,

Your solution looks great, it should work fine in all cases (that’s required to be included into package).

I’ll just add a condition to apply on each input, radio or checkbox only if it exists.

I add this on my TODO list, thanks for your contribution

Gilles

gelidan

gelidan Purchased

Hi Migli!

I’m glad that I could help. Thanks for the awesome work, keep it up!

I’m not a php expert, so that I needed some help. The support is very good. An author (Gilles Migliori) highly recommendable.

Please, i need your help to install this form builder on my website. It did not work when i installed. Thanks

Hi Samet,

I’ll help you again (thanks for your previous comment), but you have to buy a license for each domain.

Could you please buy a new license and then contact me?

Gilles

Hi,

It’s good, within 48 hours, I renew the support to get help from you for 12 months. Will you help me to create our contact form with a menu and a function with logical conditions? That means, when a user who chooses in the support option menu will be redirected to the support site?

After renewing the support ?

Thanks to you Gilles

Hi,

I’m sorry but I’m not available for custom work, I’ve got absolutely no time available. You should hire a freelancer for this.

kossut

kossut Purchased

Hi,

I have purchased your PHP Form Builder but I haven’t started using it yet. Though on your demo page I found pretty serious bug. It was on File Upload Form. Using the last example on “File Upload Form”, where you can upload max 2 images with caption, by coincidence I had chosen one .jpg file and one .psd, which wasn’t allowed. And of course the system said that the file, PSD, isn’t allowed. Co I clicked cancel, and then only the .jpg stayed on the list. But when I tried to choose the second image, with the right extension this time, the script said that the number of files had been exceeded. This in my opinion is very wrong, because it seems, that the script counts rejected files, and I think, it shouldn’t. If the second image was rejected, I should still be able to add the second one, perhaps cancelling the wrong one before, or even without doing it, because the the message is enough. Imagine, that the upload form is at the end of, let say, catalog listing form. Someone has already written the content and wants to add pics, but by mistake used up the allowed limit selecting wrong pics (as I did). The user has to give up the pics, or start over filling up the whole complicated form again. That would be very annoying to the user, and I think to everybody using such website. Please fix that, if you can, and make the script ignoring rejected files, and allow to upload the right ones within the allowed number of files. Thank you.

kossut

kossut Purchased

Little update: the same situation is when you just delete one of images, and you try to replace it with another one. This is even worse. So please, really, change that. Thank you so much in advance.

kossut

kossut Purchased

Another update: it looks like the problem is only in that last section, where you can add captions. The middle section works fine. Thats a good news:)

Hi Kossut,

Thanks for purchase.

Indeed this is not a Php Form Builder bug, but related to File upload implementation, and specific to the use of captions.

I choose to add caption on a new table row in the File Upload Template, which seemed consistent with the page layout.

Unfortunately, File Upload is counting the rows to limit the number of files.

Here is the solution:

- Open your phpformbuilder/plugins-config/fileupload.xml - Go to images-with-captions > js-code node - Cut the captions td, and paste it to the previous row (

) - Remove the where the captions were before

It’ll work. You can see example at https://www.phpformbuilder.pro/templates/bootstrap-forms/fileupload-test-form.php

If you prefer you can contact me, I’ll send you the updated file.

I also changed the delete button action, to use the proper File Upload plugin callback.

Gilles

by
by
by
by
by
by