PageSourceSearch

https://www.marshfieldclinic.org/scripts/forms/marshfield-contact-us.js?v=6ebb30af949fa96e

js marshfieldclinic.org collected 2026-10-02 04:03:55 UTC 941 bytes, 27 lines download raw bytes

1; (function ($) {
2    'use strict';
3
4    $(function () {
5        const $form = $('[data-component-key="marshfield-contact-us-form"] form');
6        const $nextButton = $('button[type="submit"][value]:not([value=""])', $form);
7        const $categoryRadios = $('input[name="Category"]', $form);
8
9        $nextButton.prop('disabled', true); // only disable the next button using javascript
10
11        $categoryRadios.on('change', function () {
12            $nextButton.prop('disabled', false);
13        });
14
15        $('#DateOfBirth').mask('00/00/0000');
16
17        $form.on("submit", function () {
18            var recaptcha = $("#g-recaptcha-response").val();
19            if (recaptcha === "") {
20                $(".recaptcha-error", $form).removeClass("hide");
21                return false;
22            } else {
23                $(".recaptcha-error", $form).addClass("hide");
24            }
25        });
26    });
27})(jQuery);

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.