Form not submitting when paypal button code is present

How to fix a form that won't submit when a PayPal button is on the same page.

Overview

The issue occurs because the PayPal button code interferes with the form's submission process when both are placed in the same Joomla article.
Move the form out of the article and avoid placing it within paragraph tags to ensure proper HTML structure and functionality.

Answered
ol oloccina 15 Dec, 2015
Hello,
I have this form http://infinitemandala.com/index.php?option=com_content&view=article&id=136

and nothing happens when I click the submit button

the form per se is working
test here http://infinitemandala.com/index.php?option=com_chronoforms5&chronoform=preiscrizione-sfera

I already verified that the issue is caused by my paypal button code, when I delete it from the page
the form works again

Do you confirm that this is not a bug and I should avoid using the fomr and the paypal button code on the same page (Joomla article) ?

The code that causes the issue is generated in paypal.com to show the button, I attach it.

Thank you!
Gr GreyHead 16 Dec, 2015
Answer
Hi oloccina,

Please see this FAQ

Is there any particular reason for putting the form in an article? I'd suggest that you add the extra text to the form instead.

I also see that the form is inside <p> tags which is illegal HTML and will prevent it working in some versions of IE.

Bob
This topic is locked and no more replies can be posted.