forked from posabsolute/jQuery-Validation-Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
40 lines (24 loc) · 856 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#get rid of
$("#formID1").validationEngine('validateField', "#emailInput")
now duplicate with 'hide'
$('#inputID').validationEngine('hidePrompt');
$("#formID1").validationEngine('validateField', "#emailInput") );
#support
$("#emailInput").validationEngine('validate')
$("#f1 #f2 #f3).validationEngine('hide');
update doc
/**
* Closes all error prompts on the page
*/
hidePrompt: function() {
var form = $(this).closest('form');
var options = form.data('jqv');
this.each(function(){
var promptClass = "."+ methods._getClassName($(this).attr("id")) + "formError";
$(promptClass).fadeTo(options.fadeDuration, 0.3, function() {
$(this).parent('.formErrorOuter').remove();
$(this).remove();
});
});
return this;
},