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.

validation of fields not working properly

Mehr
9 Jahre 7 Monate her #1576 von IreneLennings
validation of fields not working properly wurde erstellt von IreneLennings
:(
Dear Aicha,

I'm using Joomla 3.4.1 en Visforms 3.4.3.
No other extensions present apart from noconflict and JCE.

It looks like the email comparison and the error text that I defined are not evaluated.
I have put breaks on the document ready statement and on the rules statement.
So, the run stops like expected on the document ready statement, but it doesn't enter the statement, but skips to the end on the next step!

jQuery(document).ready( function(){
var validator = jQuery(document).ready(function() {
jQuery('#visform1').validate({
wrapper: "p",
//absolutly necessary when working with tinymce!
ignore: ".ignore",
rules: {
"email-herhaling" : {equalTo: "#field2",}, },
messages: {
"naam": {required: "Vul hier uw naam in",},"email-herhaling": {email: "De twee email adressen zijn niet gelijk aan elkaar",required: "De twee email adressen zijn niet gelijk aan elkaar",equalTo: "De twee email adressen zijn niet gelijk aan elkaar",}, },
errorPlacement: function (error, element){
error.appendTo('div.fc-tbx' + element.attr("id"));
error.addClass("errorcontainer");
},

}); etc....

Have you any ideas on what could be wrong?
Regards Irene

Mehr
9 Jahre 7 Monate her #1579 von Administrator AV
Administrator AV antwortete auf validation of fields not working properly
Hi Irene,

this validation options usually works fine. This must be a problem on your system.
Joomla! 3.4.1 is fine with Visforms, too.

Here some suggestions that come into mind.

Did you create template overrides for the form layouts in your template (based on the old Visforms 3.1.2 files?
They will no longer work with Visforms 3.4.3

EqualTo validation is now part of the Visforms core, so you can just use the option in the field configuration. Did you use this option?

If you cannot figure it by yourself I would at least need a link to the form.

Kind 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
9 Jahre 7 Monate her #1580 von IreneLennings
IreneLennings antwortete auf validation of fields not working properly
Dear Aicha,

Just to be sure I deïnstalled visforms. Downloaded Visforms (visForms_j3.3.6_3.4.3) from your site and installed it.
There's one difference: I can't access the script anymore, let alone debug it in firebug...

There are no overrides.
I used the Equal to option.

Here is the link: joopvangoozen.nl/index.php/contact
Let me know if you need back end access.
(Please don't mind the styling, I haven't done that yet)

Thanks in advance!
Irene

Mehr
9 Jahre 7 Monate her #1582 von IreneLennings
IreneLennings antwortete auf validation of fields not working properly
After adding the line: <jdoc:include type="head" /> in my template, I can use the debugger as expected. Pfff that's a relief!

But the run stil skips the document.ready function after pressing "versturen"....

Mehr
9 Jahre 7 Monate her #1583 von Administrator AV
Administrator AV antwortete auf validation of fields not working properly
Hi Irene,

please include
Code:
JHtml::_('jquery.framework');

in your template.
This will fix the problem, I think.

As almost every Joomla! 3 Template includes the bootstrap framework (and the jQuery Library with it) I actually overlooked, that I have forgotten to include the jQuery Library in Visforms for those who do not have it.

I have fixed this Problem in Visforms 3.5.0 but as this is still a beta Version I do not show it in the auto updater.

So you have to make sure that the template includes the jQuery with the code above.

Kind 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
9 Jahre 7 Monate her #1585 von IreneLennings
IreneLennings antwortete auf validation of fields not working properly
Dear Aicha,

It does solve the problem!
I hadn't included the jquery library in my template.
So now i know how to include it (and bootstrap and mootools) in a simple and elegant way!

Thank you very much,

Regards
Irene

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum