Subversion Repositories SmartDukaan

Rev

Rev 22144 | Rev 22148 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22144 Rev 22146
Line 1... Line 1...
1
function associateValidator(){
1
function associateValidator(){
2
    $('#form').bootstrapValidator({
2
    validator = $('#form').bootstrapValidator({
3
        fields: {
3
        fields: {
4
          registeredBusinessName: {
4
          registeredBusinessName: {
5
                validators: {
5
                validators: {
6
                    
6
                    
7
                        notEmpty: {
7
                        notEmpty: {
Line 9... Line 9...
9
                    }
9
                    }
10
                }
10
                }
11
            },
11
            },
12
 
12
 
13
    
13
    
14
            registeredAddress1: {
14
            line1: {
15
                validators: {
15
                validators: {
16
                   
16
                   
17
                    notEmpty: {
17
                    notEmpty: {
18
                        message: 'Please fill the Address field.'
18
                        message: 'Please fill the Address field.'
19
                    }
19
                    }