Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

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

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

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?

Error message Visform

More
9 years 2 months ago #2056 by greg73
Error message Visform was created by greg73
Hi,

I create a form with your solution, but I have an error message when I want to send the message : COM_VIS FORMS FIELD MAX LENGTH MULTICHECKBOX

I really don't know what happens. I suppose it comes from my custom CSS ? I have just changed the lenght of the fields.

Please help !

Thank you guys. Best regards

More
9 years 2 months ago #2057 by Administrator AV
Replied by Administrator AV on topic Error message Visform
Hi,

I assume you use Visforms 3.4.3, because this is a bug which I fixed in Version 3.5.1

You can either update to the latest Version, which is 3.5.7 or you can make a small fix in the source code of your Visforms installation.

Open the file components\com_visforms\lib\business\multicheckbox.php

find the following code (line 55)
Code:
if (VisformsValidate::validate('max', array('count' => $count, 'maxcount' => $maxcount)) == false)

replace it with
Code:
if (($count > 0) && VisformsValidate::validate('max', array('count' => $count, 'maxcount' => $maxcount)) == false)

find the following code (line 110)
Code:
if (VisformsValidate::validate('min', array('count' => $count, 'mincount' => $mincount)) == false)

replace it with
Code:
if (($count > 0) && VisformsValidate::validate('min', array('count' => $count, 'mincount' => $mincount)) == false)

I think this will fix the problem.
If not, let me know.

Regards,
Aicha

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

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

More
9 years 2 months ago #2058 by greg73
Replied by greg73 on topic Error message Visform
I replace all code on the lines but it still don't work.
You think I make an update so ?
thanks Aicha

More
9 years 2 months ago #2061 by Administrator AV
Replied by Administrator AV on topic Error message Visform
Hi,

could you send me a link to the form please (contact@vi-solutions.de). I would like to check first before I advice an update.

Regards,
Aicha

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

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

More
9 years 2 months ago #2062 by greg73
Replied by greg73 on topic Error message Visform
There are 2 forms. The first works very well. It's the 2d which makes problem, there are special fields...
let me know, I send you the url by mail
thanks

More
9 years 2 months ago #2064 by greg73
Replied by greg73 on topic Error message Visform
the 1st works ! really !
I just receive the notification by mail

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum