gmgarrison Posted September 27, 2021 Posted September 27, 2021 Site URL: https://moreland.edu/form-submission-no-redirect We use Infusionsoft as a form handler and I'm trying to figure out how to submit a form via Ajax to avoid the natural page refresh. As it currently sits, I get a CORS error. I've also tried changing the form data type to 'jsonp' and that did change the error, but did not avoid it. I understand that CORS is controlled by server headers which I can't change on Squarespace but is there another way to get this to work somehow?
Beyondspace Posted November 9, 2021 Posted November 9, 2021 On 9/28/2021 at 4:59 AM, gmgarrison said: Site URL: https://moreland.edu/form-submission-no-redirect We use Infusionsoft as a form handler and I'm trying to figure out how to submit a form via Ajax to avoid the natural page refresh. As it currently sits, I get a CORS error. I've also tried changing the form data type to 'jsonp' and that did change the error, but did not avoid it. I understand that CORS is controlled by server headers which I can't change on Squarespace but is there another way to get this to work somehow? I can think of using webhook to handle the submission and parse the data into your CRM BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Recommended Posts
Archived
This topic is now archived and is closed to further replies.