mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-26 07:01:38 +00:00
added validation to exercise creation page
This commit is contained in:
@@ -65,5 +65,12 @@ $(document).ready(function() {
|
||||
|
||||
|
||||
|
||||
|
||||
jQuery.validator.addMethod("notEqual", function(value, element, param) {
|
||||
return this.optional(element) || value != param;
|
||||
},"Please select a value");
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user