Hi.
I'm solving a problem. I use Rupostel OPC where I have HTML5 extra attributes on the phone field. I need to set the same during registration. It is not among the custom fields in the Virtuemart configuration (too bad)... it could be added there :)
But I can't find a php file in which I can set this when registering for a phone number.
Can you advise me please?
For the phone field I need to set:
pattern="^\+420\s?\d{9}$"
Having an HTML5 pattern attribute somewhere here could be very useful. If I'm right, it could work quite similarly to how the placeholder attribute works. I think with a small effort, it could make the checkout UX much better by providing a customizable validation solution for shopper fields.
(https://i.postimg.cc/MZQGqyCs/k-p.png)