Created
February 25, 2014 16:31
-
-
Save ggkrustev/9212441 to your computer and use it in GitHub Desktop.
A simple test for creating custom mask rules in PHP
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
$rules = array(); | |
$rules["~"] = new \Kendo\JavaScriptFunction('/[+-]/'); | |
$phone_number = new \Kendo\UI\MaskedTextBox('phone_number'); | |
$phone_number->rules($rules); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment