Sha256: 4f49c2214d2ec0c4a27ea93eb0eaf4b3bfd10baf7b5b9a33dae058d1e16a471f
Contents?: true
Size: 643 Bytes
Versions: 4
Compression:
Stored size: 643 Bytes
Contents
//ResetForm validation $(function() { if (!$('#reset-form').length) { return false; } var resetValidationSettings = { rules: { email1: { required: true, email: true } }, messages: { email1: { required: "Please enter email address", email: "Please enter a valid email address" } }, invalidHandler: function() { animate({ name: 'shake', selector: '.auth-container > .card' }); } } $.extend(resetValidationSettings, config.validations); $('#reset-form').validate(resetValidationSettings); })
Version data entries
4 entries across 4 versions & 1 rubygems