Combine multiple forms and send everything in one request

Posted 1 year ago by eriktobben

Hi,

I have multiple forms on my page, and when the user submits I want to combine all forms into one "master form" / request that gets submitted to the server. Is that possible?

I have found that I can get all input with this code:

$('form').serialize();

But how do I send the serialized data as a POST request to the server?

Is there a better way of doing this?

Please sign in or create an account to participate in this conversation.