Wagtail, tailwind css - javascript form load on page but submit not working

Thank you for your reply however this post was made about 7 months ago and I was able to resolve this issue at that time.

What happened is that I asked the web developer to create a spot on the web page linking to the backend CMS admin input form box so I could just paste the Javascript inside it that is linked to the spot or make any changes without having to edit the page itself if you get what I mean.

The developer knew it was going to be a spot for the form from Mautic so he went ahead and inserted a form html tag around the spot on the web page thinking it needed it.

This cause the form to have to have double form tags and double closing tags. When I saw it during my inspection, I told developer to take his form html tags out. When he took it out, then everything start working as intended.

I never asked the developer to add those tags in there but I was glad to have spotted it during my html inspection cause I was ready to go bald!

2 Likes