Skip to content

Instantly share code, notes, and snippets.

@rruhlen
Last active March 27, 2017 22:54
Show Gist options
  • Select an option

  • Save rruhlen/7222687 to your computer and use it in GitHub Desktop.

Select an option

Save rruhlen/7222687 to your computer and use it in GitHub Desktop.
example to make a custom field required.
<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