PageSourceSearch

https://fultonsheen.tv/js/pages/contact.js

js fultonsheen.tv collected 2026-10-02 01:10:01 UTC 3,481 bytes, 103 lines download raw bytes

1/*
2 *  Document   : my-account.js
3 *  Author     : katapy
4 *  Description: Custom JS code used in Login Page
5 */
6
7var BasePagesForm = function() {
8
9    var initFormValidation = function(key){
10        //if we need a custom validator, see:
11        //https://formvalidation.io/guide/developing/custom-validator/#registering-custom-validator
12
13        var addOns = {};
14        if (key != "") {
15            addOns = {
16                reCaptcha2: {
17                    element: 'captchaContainer',
18                    language: 'en',
19                    theme: 'light',
20                    siteKey: key,
21                    timeout: 120,
22                    message: 'The captcha is not valid'
23                }
24            };
25        }
26
27        $('#contact-form').formValidation({
28            framework: 'bootstrap',
29            live: "disabled",
30            message: 'This value is not valid',
31            err: {
32                container: 'tooltip'
33            },
34            addOns: addOns,
35            fields: {
36                inputFName: {
37                    message: 'The first name is not valid',
38                    validators: {
39                        notEmpty: {
40                            message: 'The first name is required and can\'t be empty'
41                        },
42                            stringLength: {
43                            min: 4,
44                            message: 'The first name must be more than 4 characters long'
45                        }
46                    }
47                }
48                ,inputLName: {
49                    message: 'The name is not valid',
50                    validators: {
51                        notEmpty: {
52                            message: 'The last name is required and can\'t be empty'
53                        },
54                            stringLength: {
55                            min: 2,
56                            message: 'The last name must be more than 2 characters long'
57                        }
58                    }
59                }
60                ,inputEmail: {
61                    validators: {
62                        notEmpty: {
63                            message: 'The email address is required and can\'t be empty'
64                        },
65                        emailAddress: {
66                            message: 'The input is not a valid email address'
67                        }
68                    }
69                }
70                ,inputSubject: {
71                    validators: {
72                        notEmpty: {
73                            message: 'The subject is required and can\'t be empty'
74                        },
75                        stringLength: {
76                            min: 3,
77                            message: 'The subject is not valid'
78                        }
79                    }
80                }
81                ,inputTextarea: {
82                    message: 'The message is not valid',
83                    validators: {
84                        notEmpty: {
85                            message: 'The message is required and can\'t be empty'
86                        },
87                        stringLength: {
88                            min: 10,
89                            message: 'The message must be more than 10 characters long'
90                        }
91                    }
92                }
93            }
94        });
95    };
96
97
98    return {
99        init: function (key) {
100            initFormValidation(key);
101        }
102    };
103}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.