Last active
May 6, 2020 00:35
-
-
Save aatronco/687da0486b76c1fd9c69737c7d582c6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/javascript"> | |
$(document).ready(function(){ | |
$("#order_customer_phone").attr("pattern","/^(\+?56)?(\s?)(0?9)(\s?)[9876543]\d{7}$/"); | |
$("#order_customer_phone").attr("placeholder","+569XXXXXXXX"); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment