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?

Mask input for Visform fields

More
8 years 1 month ago #3605 by ttome
Mask input for Visform fields was created by ttome
Hi!

I have a little problem with connecting JQuery input mask to my Visform input fields by id/class.
I found 3 examples: this , this and this .

How can i create input mask by id or class in Visform?

Thanks!

More
8 years 1 month ago - 8 years 1 month ago #3606 by Administrator AV
Replied by Administrator AV on topic Mask input for Visform fields
Hi,

I don't know exactly what this plugin is good for but I have a notion that this is not working together with Visforms.
Visforms has a lot of business logic for the form display and validation, which is done by javascript, it tiggers it's own events and will fail, if you mess up this business logic.

I'm sorry, but you have to figure for yourself how to include this plugin and if you have a very clear question about a specific detail of Visforms which you need to understand, I will gladly try to answer it.

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 :-).
Last edit: 8 years 1 month ago by Administrator AV.

More
8 years 1 month ago #3612 by ttome
Replied by ttome on topic Mask input for Visform fields
Hi,

I simply want to enable «phone mask».
For example, for the text input field whit class "phone" i want add the mask (000)000-00-00, but i can only write text like - 0000000000 or 000-000-00-00 or 000 000 0000 or 9-000-000-0000, as i whant (no rules). So if Visform has business logic for this, where can i learn it?

This plugin includes by the adding script link to html and works with fields, that are marked special id/class.

Thank You

More
8 years 1 month ago #3613 by Administrator AV
Replied by Administrator AV on topic Mask input for Visform fields
Hi,

you can add custom HTML classes to the fields (tab advanced in the field configuration).
You can use template overrides to add the javascript you need or if you only have to include additional script files maybe you can do this is yin our tamplate at all. (There it would be more update save I assume).

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
8 years 1 month ago #3614 by ttome
Replied by ttome on topic Mask input for Visform fields
I tried all of this examples, but it doesn't work.

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum