Hello, I am having problems with a custom Members signup form where I am receiving the following error: TypeError: (0 , o.default) is not a function at n.button22_click. Code below. Signup to the site works just fine. The only thing that doesn’t work is the redirection to the /membership-plans page.
export function button22_click(event) {
registerMe($w(‘#input3’).value, $w(‘#input4’).value, {
“contactInfo”: {
“firstName”: $w(‘#input1’).value,
“lastName”: [$w(‘#input2’).value]($w(‘#input2’).value
}
});
wixWindow.lightbox.close();
wixLocation.to(“/membership-plans”);
})
[}]($w(‘#input2’).value
}
});
wixWindow.lightbox.close();
wixLocation.to(“/membership-plans”);
})
[});]($w(‘#input2’).value
}
});
wixWindow.lightbox.close();
wixLocation.to(“/membership-plans”);
})
[wixWindow.lightbox.close();]($w(‘#input2’).value
}
});
wixWindow.lightbox.close();
wixLocation.to(“/membership-plans”);
})
[wixLocation.to(“/membership-plans”);]($w(‘#input2’).value
}
});
wixWindow.lightbox.close();
wixLocation.to(“/membership-plans”);
})
[}]($w(‘#input2’).value
}
});
wixWindow.lightbox.close();
wixLocation.to(“/membership-plans”);
})
Any enlightenment on the problem would be appreciated!