Welcome to Our Help Desk.

You will get all the detailed information for your queries related to our Shopify apps.

Callback after form submit get data value in function

Eye icon6150 Views Watch iconSeptember 09, 2021

After the form submit to get the form data value in aftersubmit() function under the additional tab

function afterSubmit(form){
var s = $(form).serialize();
var searchParams = new URLSearchParams(decodeURIComponent(s));
var x = decodeURIComponent(s);
var url_string = "https://cs-ecs.myshopify.com?"+x;
var url = new URL(url_string);
var c = url.searchParams.get("website");
return true;

Like below screenshot:

NOTE: This option only for the advance plan of the app.

Submit Your Query