{"version":3,"sources":["contactvalidator.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"contactvalidator.js","sourcesContent":["(function (framework, $, window, document, undefined) {\r\n \"use strict\";\r\n $(function () {\r\n $('#contact_form').bootstrapValidator({\r\n feedbackIcons: {\r\n valid: 'glyphicon glyphicon-ok',\r\n invalid: 'glyphicon glyphicon-remove',\r\n validating: 'glyphicon glyphicon-refresh'\r\n },\r\n fields: {\r\n Name: {\r\n validators: {\r\n notEmpty: {\r\n message: 'Please enter your name.'\r\n }\r\n }\r\n },\r\n Email: {\r\n validators: {\r\n emailAddress: {\r\n message: 'Please provide a valid email address.'\r\n }\r\n }\r\n },\r\n Phone: {\r\n validators: {\r\n phone: {\r\n country: 'US',\r\n message: 'Please provide a vaild phone number with area code.'\r\n }\r\n }\r\n },\r\n Message: {\r\n validators: {\r\n notEmpty: {\r\n message: 'Please provide a message.'\r\n }\r\n }\r\n }\r\n }\r\n });\r\n //.on('submit', function (e) {\r\n // // Prevent form submission\r\n // e.preventDefault();\r\n // $('#success_message').slideDown({ opacity: \"show\" }, \"slow\");\r\n // $('#contact_form').data('bootstrapValidator').resetForm();\r\n\r\n // // Get the form instance\r\n // var $form = $(e.target);\r\n\r\n // // Get the BootstrapValidator instance\r\n // var bv = $form.data('bootstrapValidator');\r\n\r\n // // Use Ajax to submit form data\r\n // $.post($form.attr('action'), $form.serialize(), function (result) {\r\n // }, 'json');\r\n //});\r\n });\r\n})(window.framework = window.framework || {}, window.jQuery, window, document);\r\n"],"sourceRoot":"/source/"}