Last active
March 27, 2017 22:54
-
-
Save rruhlen/7222687 to your computer and use it in GitHub Desktop.
example to make a custom field required.
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
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| $("#ticket_custom1").rules("add", { | |
| required: true, | |
| messages: { | |
| required: "Required Field", | |
| } | |
| }); | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment