submitted = false;

$(document).ready(() => {
		
	$('#voting-form').submit((event) => {

		/* Prevents defualt redirect */
		event.preventDefault();
		
		/* Prevents accidental mulitple submissions */
		if(submitted) {
			return;
        }
        
        if($('#email').val() === "") {
            return;
        }

		/* JSONifies form */
        var formData = $('#voting-form').serialize();
        
        console.log(formData);

		/* Disables fields */
		$('input, textarea, label').each(function(i, obj) {
			disable(obj);
		});

		/* Submits form, assumes success */
		$.ajax({
			type: 'POST',
			url: "https://docs.google.com/forms/d/e/1FAIpQLSeTyUtawOnXubiYEWM8-1ZxNZzazim839NfjmXjXpOlo1yEZw/formResponse",
			crossDomain: true,
			data: formData,
			dataType: 'json',
			id: "mG61Hd"
		}).then(() => {
			submitted = true;
        });
        
		/* Animates in thank you message */
        $('#success').css('-webkit-transform', 'translateY(0)');
        $('#success').css('opacity', '1');

	});
});

/* Fades element out and disables editing */
function disable(obj) {
	$(obj).animate({
		opacity: 0.5
	}, 500, function() {
		$(obj).prop('disabled', true);
		$(obj).addClass("disabled");
	});
}
@@ -47,30 +47,30 @@
 %7B%0D%0A%09%09%0D%0A%09$('#
-voting
+signup
 -form').subm
@@ -246,24 +246,54 @@
      %7D%0D%0A
-        
+%09%09%0D%0A%09%09/* Prevents empty submissions */
 %0D%0A      
@@ -442,157 +442,8 @@
 ();%0D
-%0A        %0D%0A        console.log(formData);%0D%0A%0D%0A%09%09/* Disables fields */%0D%0A%09%09$('input, textarea, label').each(function(i, obj) %7B%0D%0A%09%09%09disable(obj);%0D%0A%09%09%7D);%0D
 %0A%0D%0A%09
@@ -766,380 +766,18 @@
 );%0D%0A
-        %0D%0A%09%09/* Animates in thank you message */%0D%0A        $('#success').css('-webkit-transform', 'translateY(0)');%0D%0A        $('#success').css('opacity', '1');%0D%0A%0D%0A%09%7D);%0D%0A%7D);%0D%0A%0D%0A/* Fades element out and disables editing */%0D%0Afunction disable(obj) %7B%0D%0A%09$(obj).animate(%7B%0D%0A%09%09opacity: 0.5%0D%0A%09%7D, 500, function() %7B%0D%0A%09%09$(obj).prop('disabled', true);%0D%0A%09%09$(obj).addClass(%22disabled%22);%0D%0A%09%7D);%0D%0A%7D
+%0D%0A%09%7D);%0D%0A%09%0D%0A%7D);

Remove field disable logic from form.js