Virtuemart Registration Field Verification

Job ID: 31737948

Budget: $10 – $30 USD

Currently our site is Made in Joomla + Virtuemart version 3.8.7 10378

In Brazil, the customer's document is called CPF
the CPF has 11 digits

We created a new field for registration virtuemart to request this data for the customer
with Field Type: text

Problem:
We were able to put a field limit to 11 digits
But we can't force the customer to:
-Enter only numbers
-Type the 11 digits (there are clients who make mistakes and only type 10)

Solution:
We need a solution that could be done directly in Virtuemart Core (no plugins)

What to do:

1- the CPF field only accepts Numbers
2- It is mandatory to enter 11 numbers
3- If 11 numbers are not entered, an alert message will appear
Related categories: Joomla Virtuemart