Last active
October 4, 2022 14:26
-
-
Save Octagon-simon/046b84b4bcdf1bd6abedc05c44ca9a6d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <?php | |
| //custom rules | |
| $customRules = array( | |
| "UNAME" => ['/simon/', "You must enter simon"], | |
| "PASS" => ['/12345/', "You must enter 12345"] | |
| ); | |
| //build the rules | |
| $DemoForm->moreCustomRules($customRules); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment