Contact

Contact Form

Why do I ask for a phone number? I will add it to a whitelist for faxes and phone calls.


 
 
 
 

const widget = document.querySelector("#cap");widget.addEventListener("solve", function (e) {  const token = e.detail.token;    if (token){    console.log("Captured")    //document.getElementById("Submit").disabled = "false";    var button = document.getElementById('Submit');  // Set the 'disabled' property to false to enable it  button.disabled = false;  }});  $.ajaxSetup({    headers: {        'Content-Type': 'application/json',        'Accept': 'application/json',        'Authorization': 'Bearer fdf17fe21a5c7662f2adcb65e79d40739fa8e5dc089e64ee382f3dadd142e4e67919a4050808f042d6441682d69961b51bcf57007fa69535b2a7d4c9599277b3c8e6623dcaa7f48195f23508760a33604051cf17b42f3f9d3c3f620cca8eb53e19cda3181a258a4ed1c355b8458e7945cdf5a46dd68c896629c7c011237f88cf',    }});$("form").submit(function (event) {  var formData = {      FirstName: $("#FirstName").val(),      LastName: $("#LastName").val(),      Email: $("#Email").val(),      Message: $("#Message").val(),      PhoneNumber: $("#PhoneNumber").val()    };    event.preventDefault(); //prevent default action     $.post( "https://api.paulhitt.com/api/contacts", JSON.stringify({ "data": formData}) ).done(function(data){    document.forms[0].reset();    alert("Form submitted. Thanks!");      });});