Joomla 5 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 29. Januar 2024 alle unsere Joomla Erweiterungen mit Joomla 5 kompatible sind.

Für alle die gerade noch von Joomla 3 auf 4 aktualisieren: Anleitungen für die Joomla 4 Migration gibt es hier:

Es gibt nun auch eine eigenständige Dokumentation für Visforms für Joomla 4 und für Visforms auf Joomla 5

Forum

Visforms Subscription Inhaber können in unserem Forum Fragen stellen. Bitte mit dem entsprechenden Benutzer anmelden.
Jeder kann lesend auf das Forum zugreifen.

Bitte stellen Sie nur 1 Frage pro Thema.

Wichtig Angaben für fast jede Frage:
V1: Welche Visforms-Version läuft?
V2: Welche Joomla-Version läuft?
V3: Welche PHP-Version läuft?

Aufgrund von Feiertagen und Urlaub ist bei Anfragen im Forum in der Zeit vom 20. Dezember 2024 bis zum 8.Januar 2025 mit verlängerten Antwortzeiten zu rechnen.

Submission Error

Mehr
7 Jahre 7 Monate her - 7 Jahre 7 Monate her #4273 von kuyumcus
Submission Error wurde erstellt von kuyumcus
I created many forms before and was working fine.
I created a new form and when I submit it I have an error for:
Please select no more than 0 option(s) for field "1".

COM_VISFORMS_FIELD_MAX_LENGTH_MULTICHECKBOX="Please select no more than %d option(s) for field "_QQ_"%s"_QQ_"."

I neither have any field as called 1 nor multicheckbox in the form but 3 different checkbox fields.

I tried a lot of things but I could not submit the form and I had this error twice at a time:(
I have no multicheckbox in the form but checkbox
regards
Letzte Änderung: 7 Jahre 7 Monate her von kuyumcus.

Mehr
7 Jahre 7 Monate her #4274 von Administrator AV
Administrator AV antwortete auf Submission Error
Hi,

I need a link to the form with the error.

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 :-).

Mehr
7 Jahre 7 Monate her #4275 von kuyumcus
kuyumcus antwortete auf Submission Error
Hello Aicha,
I am sorry I forgot it:(

akademikkoc.com/index.php/hizmetlerimiz/greencard

Mehr
7 Jahre 7 Monate her #4276 von Administrator AV
Administrator AV antwortete auf Submission Error
Hi,

ok, I took a good look at the form and tried to submit it, with the result you describe.
This is an error that occurs during server site validation with php.
So while javascript validation in the browser does not find any problems, the php validation of the form fails.
But obviously the submitted data are valid and that the php validalidation fails is some sort of error.

It is really not so easy for my to find my way through the form, but there are some things which I noted.
First, usually after the form is redisplayed (with the error message from php validation), all valid user inputs are set in the form (except for the upload fields), but in my case the value of the radio field "En son bitirdiğiniz eğitim durumunuz" was not set. Further on the my selection in all list boxes where not set.

At the moment I'm not sure what I can learn from this, except that something goes wrong during server side validation and that "Visforms" seems to think, that the selected values in the radio button mentions above and the selects are not valid.

If I had an akeeba backup of the site, which I could install locally on my debug system, I could run the form in the debugger and would find out for sure what goes wrong. Can you provide me with such a thing?

If I had to debug the form without using a debugger, I would start with unpublishing the calculation field first.
If that does not solve the problem, I would unpublish alle the fields menditoned above.
If this does not solve the problem, I would unpublish field by field, until the form starts working.
If i does solve the problem, then I would start publishing the unpublished field step by step, every time testing, until I find the field that causes the problem. And then I would take a better look at the field(s) that causes the problem...

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 :-).

Mehr
7 Jahre 7 Monate her - 7 Jahre 7 Monate her #4279 von Administrator AV
Hi,

ok, I found out what the problem is.

On some of your fields with options (radios, selects) you have created several options that have the same value (within one field)
For example Field "Medeni Durumunuz"
First option has value 99
Third option has value 99
Forth option has value 99
Fifth option has value 99

That is somethings which you must never ever do, when you work with form, because the value of the option must be unique. It is the value that is submitted when the form is send and the value that is used by the code in order to figure which option the user selected. So if in your example the first option is selected, the Visforms code assumes, that the user has selected the first, third, forth and fifth option and this is obviously an invalide selection, because the select is set up to only accept the selection of one option.

I know, why you have created options with the same value, because you want to use them in a field of type calculation, and the value which you want to use in the calculation is the same for some of the options. This is actually a mistake, which never happened before people started working with calculations, because you would usually not have the idea to create two options with the same value. Therefore there is no validation in the field configuration which warns you, that you have set up the field in a bad way. And the error message, which is send when the user submits the form, is not very helpful either. Sorry for that.

You have to set up your form/fields differently. I'm sorry that this becomes more complicated then, but there is no other way. You must use different values for each option (for example 1, 2, 3, 4 and 5) and then for example in the calculation field set the proper value which the calculation should use 1 -> 99, 2 ->199, 3 ->33. This is not very nice because you have many if statements in the calculation, but it is the only way.

Regards,
Aicha

P.S.
It is not possible to make the values different by prefixing them with zeros (i.e. 099, 0099), these values are considered identical by Visforms.

: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 :-).
Letzte Änderung: 7 Jahre 7 Monate her von Administrator AV.
Folgende Benutzer bedankten sich: kuyumcus

Mehr
7 Jahre 7 Monate her #4281 von kuyumcus
I am sorry for making a lot of trouble but I needed to make the same value for different options. At the moment I changed it and the problem solved.
Thank you very much for your help
HAve a nice day!

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum