Our Information

$('input[data-aid="submit-51d7d5db-e4b3-47dd-aea0-43638486152f-desktop"]').click(function(){ contactFormSubmit(); }); function contactFormSubmit() { if($("#elm-873adbdf-a3c7-4f26-ab7f-43d3ab827211").val() == ""){ alert("Please fill the name"); return false; } if($("#elm-2ba961c1-1d9d-4311-bd74-5cfeaae2682f").val() == ""){ alert("Please fill the email"); return false; } if($("#elm-d1dd0a40-567d-4c88-8310-58d6d381e34d").val() == ""){ alert("Please fill the phone number"); return false; } if($("#elm-20497228-24d8-426b-a2c6-c4cdf5a06149").val() == ""){ alert("Please fill the subject"); return false; } if($(".datefield").val() == ""){ alert("Please select the date"); return false; } if($("#elm-edfdf648-2b05-4c1b-8b4d-0c904a013388").val() == ""){ alert("Please fill the message"); return false; } if($('select').val() == ""){ alert("How did you hear about us?"); return false; } var select = $('select').val(); var data = { "Address":"", "CakeTypeId":1, "City":"", "DayPhone": $("#elm-d1dd0a40-567d-4c88-8310-58d6d381e34d").val(), "Email":$("#elm-2ba961c1-1d9d-4311-bd74-5cfeaae2682f").val(), "EveningPhone":"", "EventDate":$(".datefield").val(), "FirstName":$("#elm-873adbdf-a3c7-4f26-ab7f-43d3ab827211").val(), "IsManualEntry":false, "LastName":"", "LeadId":-1, "NoOfGuests":0, "OtherReferral":select, "Questions":$("#elm-edfdf648-2b05-4c1b-8b4d-0c904a013388").val(), "State":"", "Zip":"" }; console.log(JSON.stringify(data, undefined, 2)); $('input[data-aid="submit-51d7d5db-e4b3-47dd-aea0-43638486152f-desktop"]').attr('disabled', true); var servicePath = "http://13.56.141.23/BakeryExtServices/BakeryExtService/CreateLead"; $.ajax({ type: "POST", url: servicePath, data: JSON.stringify(data), contentType: "application/json; charset=utf-8", dataType: "json", processData: true, success: function (data, status, jqXHR) { console.log(data); if (data.Status == 'Success') { alert("Thank you for contacting us! If needed, you will hear back within 48-72 hours."); //var frm = document.getElementsByName('Contact Form')[0]; //frm.reset(); // Reset all form data $('input[data-aid="submit-51d7d5db-e4b3-47dd-aea0-43638486152f-desktop"]').attr('disabled', false); } else { console.log("else"); alert(data.Message); } }, error: function (e) { console.log("error"); console.log(e); } }); }
Contact

Send us a message

Our Information


Store Address:

120 W. Murphy St Madison, NC 27025

Call Us:

(336) 427-5277

Email Us: 

sales@bakemehappy.net

 

Open: By Appointment Only

 ​ 

Send us a message

Store Address:

120 W. Murphy St Madison, NC 27025

Call Us:

(336) 427-5277

Email Us: 

sales@bakemehappy.net

 

Open: By Appointment Only

 ​