Joomla 5 Notice

We are pleased to announce that as of October 14, 2025, all of our Joomla extensions are compatible with Joomla 6.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5 and 6!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Checkbox Group Creates extra blank options

More
10 years 9 months ago - 10 years 9 months ago #1125 by Dlevenson1
Checkbox Group Creates extra blank options was created by Dlevenson1
Hello,

I really like this plugin as it works really well.

I have installed the 3.2.1 version as I needed Checkbox groups to be available for my forms, along with conditional fields.

When i create checkbox list options an additional (sometimes more than one) checkbox option gets added with no label and no value, but it does show up on the form.

Please help.

Thank you
Last edit: 10 years 9 months ago by Dlevenson1. Reason: Wanted to change icon

More
10 years 9 months ago #1131 by Administrator AV
Replied by Administrator AV on topic Checkbox Group Creates extra blank options
Hi,

thanks for your patience. I was out of office during Christmas and New Year holidays.

Which browser do you use?
Did you update Visforms from a former version or is this a new installation?

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
10 years 9 months ago #1154 by Dlevenson1
Replied by Dlevenson1 on topic Checkbox Group Creates extra blank options
Hi Aicha,

Thank you for getting back with me promptly.

I primarily use Chrome, but i have had others view the site with different browers, though I have not had anyone try to modify or change the form with any other browsers.

I did update visforms from 3.1.2 to 3.2.1 as I needed the checkbox group and conditional field options.

More
10 years 9 months ago #1155 by Administrator AV
Replied by Administrator AV on topic Checkbox Group Creates extra blank options
Hi,

obviously your problem starts in the administration, when additional checkbox options with no label and value are added.
Actually there runs some Javascript that should validate that each option has a label and a value, so it is weird, that "empty" options show up.
Do you remember at which point the "empty" option showed up (after adding and saving options with the "add" button or after saving the field).

You could provide me with some further information.
There should be a visforms_update.php in the logs folder of your Joomla! installation. Could you please send me this file to contact@vi-solutions.de

Could you export the visforms and visfield table from your database and send me the sql-file. I would like to check if the database structure is ok.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
10 years 9 months ago #1181 by Administrator AV
Replied by Administrator AV on topic Checkbox Group Creates extra blank options
Hi,

thanks for the files!

I could figure out what causes the problem and it's actually a bug in Visforms.
Deleting options is not working properly and when you delete an option, there remains a sort of "residue", visible as empty options.
I think it is the result of some changes a made to the javascript code that creates the options, in order to get those headers on top of the option list.
That one is a bit tricky and obviously I missed one use case.

The same problem applies to selects and radios, as they use the same Javascript code to create the options.
I will publish an update of Visforms as soon as I have solved the problem.
After installing the update you will still have to clean the empty options from the fields.
I will figure how to do that, and post it here, after I have published the update.

I'm sorry for your trouble, but that is why Visforms 3.2 is marked as a beta version. You (I) cannot test everything and only the use of the software in different use cases can show those bugs. So thanks for your help.

Kind Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
10 years 9 months ago #1185 by Administrator AV
Replied by Administrator AV on topic Checkbox Group Creates extra blank options
Hi,

I just released Visforms 3.2.2 (it's available in the download section), which fixes the bug.

Here is an instruction for everybody on how to get rid of the empty options:

After you have updated to that version, it is possible to remove the empty options in the field administration.
Just click on the "Delete" link behind the option and save the field. In some fields there might be even an empty option, that is displayed on the right side of the options header. When you click the delete link of this option and save the field, the deleted option will show up again, this time at the bottom of the option list. Click once again on the delete link and save the field and the empty option is gone.

As long as there are any empty option in any selects, radios and checkbox groups of a form you may see debug warnings and notices in the field configuration of any field. Especially if the error report of your system is to a developer state (which is probable on local XAMPP test systems).

I'm sorry for the trouble.

Thanks a lot for your help.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum