How do I prevent a custom form button from submitting a newsletter form?

Hi all,

I am trying to add a custom form to one of my collection pages where customers can submit ideas. However, when I test the submit button, I get an error message below my newsletter form in the footer that the email is invalid. How to I stop the custom form submit button from activating the newsletter form? Or in other words, how do I place two different forms on one page?

the code for my custom form:


					  {%- assign formId = 'ContactForm' -%}
					  {% form 'contact', id: formId %}
					  {% include 'form-status-OL', form: form, form_id: formId %}

					  

					    {% comment %} Input fields {% endcomment %}
					    

					      
					    

					    
					      
					      
					    

							
								{% include 'social-buttons' %}
							

					  

					      
					  {% endform %}
					

Thanks in advance!

Kind regards,

Jerome