Answers for "validate array parsley"

0

validate array parsley

//add validateMultiple instead of validateString or ValidateNumber

window.Parsley.addValidator('myvalidator', {
  requirementType: 'integer',
  validateMultiple(values, requirement, instance) {
    console.log('values', values);
    return true;
  },
  messages: {
    en: "'Yes' required.",
  },
});
Posted by: Guest on July-27-2021

Code answers related to "validate array parsley"

Code answers related to "Javascript"

Browse Popular Code Answers by Language