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.

Custom error text

More
10 years 7 months ago #200 by mandrake63
Custom error text was created by mandrake63
After many attempts, I still receive default error messages instead of custom error text on my fields check.

Where's my mistake?

Thanks a lot!

Max

More
10 years 7 months ago #201 by Administrator AV
Replied by Administrator AV on topic Re:Custom error text
Hi Max,

I looked into the code and there are some conditions when to show the customerrortext.

Customerrortext is used only if

Field is mandatory
or
fieldtype is text

: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
10 years 7 months ago #202 by mandrake63
Replied by mandrake63 on topic Re:Custom error text
Thanks so much, but not solved :(

Look at this image link:

s16.postimg.org/6wwpn9awl/custom_error_text.jpg

(pay attention to select image file to attach, because I receive this error:

Parse error: syntax error, unexpected T_VARIABLE in /home/visoluti/public_html/components/com_kunena/lib/kunena.image.upload.php on line 45

Max

More
10 years 7 months ago #203 by Administrator AV
Replied by Administrator AV on topic Re:Custom error text
Hi Max,

on your website the JavaScript validation of form (before submit) doesn't work.

Visforms has a second security layer and validates the submitted form data with PHP. What you see are the error messages of that PHP validation and because this is only a second security layer I just didn't even think on using the custom error texts.

The question is, why does JavaScript validation not work on your website? For that is the real problem. Did you turn it off? Or is there maybe a JavaScript conflict on your website (between your template and visforms). You may check here

vi-solutions.de/en/enjoy-joomla-blog/87-...h-funktioniert-nicht

to find a solution.

If not, could you send me a link to your website (if it is not on a local test server)? Then I could check.

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

More
10 years 7 months ago #204 by mandrake63
Replied by mandrake63 on topic Re:Custom error text
I know this isn't the right way, but I've translated file "en-GB.com_visforms.ini" and now I have messages in italian (but default messages :unsure:)....

Keep hoping in right solution..... ;)

Max

Link to form page:
www.vetrateartistichetomanin.it/index.ph...cle&id=30&Itemid=186

More
10 years 7 months ago #205 by Administrator AV
Replied by Administrator AV on topic Re:Custom error text
Hi Max,

thanks for the link.

There is a JavaScript incompatibility on your website.

Please try the JQueryEasy plugin. (link below).

extensions.joomla.org/extensions/core-en...jquery-scripts/18327

I just downloaded the template you use. On my test system I have the plugin - it's a system plugin - installed and enabled. In the "Basic Site Options" of the plugin I have set the parameter "Enable JQuery" to "jQuery". Thats all. With those settings the conflict is solved on my test system and visforms works together well with the template.

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

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum