<form id="contactForm"><!-- [et_pb_line_break_holder] --><input type="hidden" name="on_success" id="on_success" value="https://www.janessink.com/thank-you-for-your-request/"><!-- [et_pb_line_break_holder] --><input type="hidden" name="pipeline_name" id="pipeline_name" value="Sales Pipeline"><!-- [et_pb_line_break_holder] --><input type="hidden" name="title" id="title" value="New lead from website"><!-- [et_pb_line_break_holder] --><input type="hidden" name="lead_source_name" id="lead_source" value="Website Contact Form"><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --><div class="form-group"><!-- [et_pb_line_break_holder] --> <label for="name">Your Name</label><!-- [et_pb_line_break_holder] --> <input type="text" name="primaryContactName" class="form-control" id="primary_contact_name" placeholder="Name"><!-- [et_pb_line_break_holder] --></div><!-- [et_pb_line_break_holder] --><div class="form-group"><!-- [et_pb_line_break_holder] --> <label for="name">Phone</label><!-- [et_pb_line_break_holder] --> <!-- <input type="phone" name="phone_number" class="form-control" id="primaryPhone" placeholder="number"> --><!-- [et_pb_line_break_holder] --> <input type="tel" name="phone_number" id="primaryPhone" class="form-control" placeholder="(xxx) xxx-xxxx"><!-- [et_pb_line_break_holder] --></div><!-- [et_pb_line_break_holder] --><div class="form-group"><!-- [et_pb_line_break_holder] --> <label for="name">Company Name</label><!-- [et_pb_line_break_holder] --> <input type="text" name="company_name" class="form-control" id="company_name" placeholder="Company Name"><!-- [et_pb_line_break_holder] --></div><!-- [et_pb_line_break_holder] --><div class="form-group"><!-- [et_pb_line_break_holder] --> <label for="email">Your Email address</label><!-- [et_pb_line_break_holder] --> <input type="email" name="email" class="form-control" id="email" placeholder="Email"><!-- [et_pb_line_break_holder] --></div><!-- [et_pb_line_break_holder] --><div class="form-group"><!-- [et_pb_line_break_holder] --> <label for="details">Questions or Comments</label><!-- [et_pb_line_break_holder] --> <textarea class="form-control" name="details" id="details" rows="3" placeholder="Please enter your questions or comments"></textarea><!-- [et_pb_line_break_holder] --></div><!-- [et_pb_line_break_holder] --><div class="form-group"><!-- [et_pb_line_break_holder] --> <label for="asset">Asset</label><!-- [et_pb_line_break_holder] --> <input type="file" name="asset" id="asset"></input><!-- [et_pb_line_break_holder] --></div><!-- [et_pb_line_break_holder] --><button type="submit" class="btn btn-default">Submit</button><!-- [et_pb_line_break_holder] --></form><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script><!-- [et_pb_line_break_holder] --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script><!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> <script><!-- [et_pb_line_break_holder] --> $(function() {<!-- [et_pb_line_break_holder] --> var authToken = "kyoaxScq6EodHKb--aGy4g";<!-- [et_pb_line_break_holder] --> var accountId = "41500d4f-4f68-42dc-937c-3400cf42ad2b";<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] --> $("#contactForm").submit(function(e) {<!-- [et_pb_line_break_holder] --> e.preventDefault();<!-- [et_pb_line_break_holder] --> var successUrl = $("#contactForm #on_success").attr("value")<!-- [et_pb_line_break_holder] --> var actionUrl = "https://api.shopvox.com/v1/sales_leads.json?authToken="+authToken+"&account_id="+accountId;<!-- [et_pb_line_break_holder] --> $.ajax({<!-- [et_pb_line_break_holder] --> url: actionUrl,<!-- [et_pb_line_break_holder] --> type: "post",<!-- [et_pb_line_break_holder] --> dataType: "json",<!-- [et_pb_line_break_holder] --> processData: false,<!-- [et_pb_line_break_holder] --> contentType: false,<!-- [et_pb_line_break_holder] --> data: new FormData($("#contactForm")[0]),<!-- [et_pb_line_break_holder] --> success: function(data) {<!-- [et_pb_line_break_holder] --> console.log(data);<!-- [et_pb_line_break_holder] --> if (successUrl) {<!-- [et_pb_line_break_holder] --> window.location = successUrl;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> },<!-- [et_pb_line_break_holder] --> error: function(xhr, status, error) {<!-- [et_pb_line_break_holder] --> alert(error);<!-- [et_pb_line_break_holder] --> console.log(xhr, status, error);<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> </script>