I currently have this in a contact form and it's working properly with US +1 country code number. My question is: How can I make this work for double digits international numbers?. I've tried editing but it doesn't seem to work correctly.
onkeyup="this.value=this.value.replace(^\+?\d*$')" pattern= "[+]{1}[1]{1}[0-9]{10}"
I need to send the + sign and the country code back to a CRM. I also need to force user to include a number. Thanks in advance.