- vincentadultmanAsked on November 27, 2014 at 08:40 AM
We are trying to submit a form via AJAX for a Shopify store, however are getting a few errors.
Here is the code we are trying to use, would you be able to suggest something that would work in all browsers?
var formdata = $('#43174478362965').serialize();
Basically we are trying to submit 2 forms in one click, send the jotform info and send the user to the checkout for shopify.
Any advice for setting this up would be extremely helpful, thanks in advance!
- KadeJMAnswered on November 27, 2014 at 11:57 AM
So if I understand you, basically you want to have 2 forms filled in on your website which would then both be submitted using one submit button to then send the user into shopify? Is that correct?
I would first recommend referring to our API Documentation to get a better understanding of how our form data can be used in certain cases from the list of coding types we use if you haven't already.
Unfortunately my knowledge of ajax is a bit limited but me as well as some of my more experienced colleagues will try to see if we can aid you in achieving. We have a similar thread here that goes into something like this which is claimed to be working for the user so you may want to try something this to see if that works since the code lines are slightly different -
var formdata = $(#31326450739151).serialize();