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?

Regarding Custom Validation For Contact No Field

More
7 years 9 months ago #3904 by niravmistry
Hi
I am Using Visforms Version 3.8.16 . I have created one form and in this form there is one field for Contact No.
Now i want to put some validation on it so that user can enter digits only and accept only 10 digits no.
Please provide me solution for it.

Thank you.

More
7 years 9 months ago #3905 by Administrator AV
Replied by Administrator AV on topic Regarding Custom Validation For Contact No Field
Hi,

you need the regular expression which performs the validation which you require.
You can learn more about reqular expression for example on this website www.regexr.com/
You can test your regular expression there, too.
This regular expression must be entered in the field option "custom validation".

We cannot provide individual customization solutions here (this is your responsibility) but he regular expression your are looking for probably is something like
Code:
^\d{10}$
(this guess is not tested of course)

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