logo
Search
showing results for - "create own rules jquery"
Alycia
30 Aug 2016
1jQuery.validator.addMethod("domain", function(value, element) {
2
3  return this.optional(element) || /^http:\/\/mycorporatedomain.com/.test(value);
4
5}, "Please specify the correct domain for your documents");
6
7
source
similar questions
jquery validation examplejquery validation pluginform validation using jqueryjquery get custom attributejquery styleshow to use if condition in jquery validationhow to create jquery functioncustom jquery validation messagesjquery validation errorplacementuse jquerysyntax jquerywrite custom validation in mongoosehow to change the color of error message in jquery validationjquery form validationjquery function donejquery validate required false with additional functionwordpress enqueue script jquery dependencyjquery basic syntax
queries leading to this page
rules jqueryjquery rulescreate own rules jquerycreate own rules jquery
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue