Hi,
So I have been at this for 6 hrs now. I made this contact form. I have made plenty before. They all work. All I want is to receive the form by email. I have been doing so for 6 months now with no problem. But now I did a form but with some code this time. when I press Submit. Nothing happens.
Here is the site : https://www.alphaveterans.ca/home
It’s live, but in french. just click any button on the site and its the same lightbox with the same form. click on the arrows for the form to appear.
Here’s a picture to show the settings for the submit button. I have tried exact samething on a new form it works. But when I enter the code for the form. Button stop working.
Here his the code ( NOTHING related to submit button)
export function Button1_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#social’).collapsed) {
$w(‘#social’).expand();
}
if ($w(‘#therapeute’).expand) {
$w(‘#therapeute’).collapse();
}
if ($w(‘#pairaidant’).expand) {
$w(‘#pairaidant’).collapse();
}
if ($w(‘#harley’).expand) {
$w(‘#harley’).collapse();
}
if ($w(‘#textcover’).expand) {
$w(‘#textcover’).collapse();
}
if ($w(‘#infolettre’).expand) {
$w(‘#infolettre’).collapse();
}
if ($w(‘#hrd2kill’).expand) {
$w(‘#hrd2kill’).collapse();
}
if ($w(‘#repos’).expand) {
$w(‘#repos’).collapse();
}
if ($w(‘#salon’).expand) {
$w(‘#salon’).collapse();
}
if ($w(‘#dress’).expand) {
$w(‘#dress’).collapse();
}
if ($w(‘#textsocial’).collapsed) {
$w(‘#textsocial’).expand();
}
if ($w(‘#checkboxGroup2’).collapse) {
$w(‘#checkboxGroup2’).expand();
}
if ($w(‘#checkboxGroup3’).expand) {
$w(‘#checkboxGroup3’).collapse();
}
if ($w(‘#texttherapeute’).expand) {
$w(‘#texttherapeute’).collapse();
}
if ($w(‘#grostext’).expand) {
$w(‘#grostext’).collapse();
}
if ($w(‘#checkboxGroup4’).expand) {
$w(‘#checkboxGroup4’).collapse();
}
if ($w(‘#checkboxGroup5’).expand) {
$w(‘#checkboxGroup5’).collapse();
}
if ($w(‘#textsalon’).expand) {
$w(‘#textsalon’).collapse();
}
if ($w(‘#checkboxGroup1’).expand) {
$w(‘#checkboxGroup1’).collapse();
}
if ($w(‘#textdress’).expand) {
$w(‘#textdress’).collapse();
}
}
export function Button2_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#social’).expand) {
$w(‘#social’).collapse();
}
if ($w(‘#therapeute’).collapsed) {
$w(‘#therapeute’).expand();
}
if ($w(‘#pairaidant’).expand) {
$w(‘#pairaidant’).collapse();
}
if ($w(‘#harley’).expand) {
$w(‘#harley’).collapse();
}
if ($w(‘#textcover’).expand) {
$w(‘#textcover’).collapse();
}
if ($w(‘#infolettre’).expand) {
$w(‘#infolettre’).collapse();
}
if ($w(‘#hrd2kill’).expand) {
$w(‘#hrd2kill’).collapse();
}
if ($w(‘#repos’).expand) {
$w(‘#repos’).collapse();
}
if ($w(‘#salon’).expand) {
$w(‘#salon’).collapse();
}
if ($w(‘#dress’).expand) {
$w(‘#dress’).collapse();
}
if ($w(‘#textsocial’).expand) {
$w(‘#textsocial’).collapse();
}
if ($w(‘#checkboxGroup2’).expand) {
$w(‘#checkboxGroup2’).collapse();
}
if ($w(‘#checkboxGroup3’).collapsed) {
$w(‘#checkboxGroup3’).expand();
}
if ($w(‘#texttherapeute’).collapsed) {
$w(‘#texttherapeute’).expand();
}
if ($w(‘#grostext’).expand) {
$w(‘#grostext’).collapse();
}
if ($w(‘#checkboxGroup4’).expand) {
$w(‘#checkboxGroup4’).collapse();
}
if ($w(‘#checkboxGroup5’).expand) {
$w(‘#checkboxGroup5’).collapse();
}
if ($w(‘#textsalon’).expand) {
$w(‘#textsalon’).collapse();
}
if ($w(‘#checkboxGroup1’).expand) {
$w(‘#checkboxGroup1’).collapse();
}
if ($w(‘#textdress’).expand) {
$w(‘#textdress’).collapse();
}
}
export function Button3_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#pairaidant’).collapsed) {
$w(‘#pairaidant’).expand();
}
if ($w(‘#therapeute’).expand) {
$w(‘#therapeute’).collapse();
}
if ($w(‘#social’).expand) {
$w(‘#social’).collapse();
}
if ($w(‘#harley’).expand) {
$w(‘#harley’).collapse();
}
if ($w(‘#textcover’).expand) {
$w(‘#textcover’).collapse();
}
if ($w(‘#infolettre’).expand) {
$w(‘#infolettre’).collapse();
}
if ($w(‘#hrd2kill’).expand) {
$w(‘#hrd2kill’).collapse();
}
if ($w(‘#repos’).expand) {
$w(‘#repos’).collapse();
}
if ($w(‘#salon’).expand) {
$w(‘#salon’).collapse();
}
if ($w(‘#dress’).expand) {
$w(‘#dress’).collapse();
}
if ($w(‘#textsocial’).collapsed) {
$w(‘#textsocial’).expand();
}
if ($w(‘#checkboxGroup2’).expand) {
$w(‘#checkboxGroup2’).collapse();
}
if ($w(‘#checkboxGroup3’).expand) {
$w(‘#checkboxGroup3’).collapse();
}
if ($w(‘#texttherapeute’).expand) {
$w(‘#texttherapeute’).collapse();
}
if ($w(‘#grostext’).collapsed) {
$w(‘#grostext’).expand();
}
if ($w(‘#checkboxGroup4’).expand) {
$w(‘#checkboxGroup4’).collapse();
}
if ($w(‘#checkboxGroup5’).expand) {
$w(‘#checkboxGroup5’).collapse();
}
if ($w(‘#textsalon’).expand) {
$w(‘#textsalon’).collapse();
}
if ($w(‘#checkboxGroup1’).expand) {
$w(‘#checkboxGroup1’).collapse();
}
if ($w(‘#textdress’).expand) {
$w(‘#textdress’).collapse();
}
}
export function Button4_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#social’).expand) {
$w(‘#social’).collapse();
}
if ($w(‘#therapeute’).expand) {
$w(‘#therapeute’).collapse();
}
if ($w(‘#pairaidant’).expand) {
$w(‘#pairaidant’).collapse();
}
if ($w(‘#textcover’).collapsed) {
$w(‘#textcover’).expand();
}
if ($w(‘#harley’).expand) {
$w(‘#harley’).collapse();
}
if ($w(‘#infolettre’).expand) {
$w(‘#infolettre’).collapse();
}
if ($w(‘#hrd2kill’).expand) {
$w(‘#hrd2kill’).collapse();
}
if ($w(‘#repos’).expand) {
$w(‘#repos’).collapse();
}
if ($w(‘#salon’).expand) {
$w(‘#salon’).collapse();
}
if ($w(‘#dress’).expand) {
$w(‘#dress’).collapse();
}
if ($w(‘#textsocial’).expand) {
$w(‘#textsocial’).collapse();
}
if ($w(‘#checkboxGroup2’).expand) {
$w(‘#checkboxGroup2’).collapse();
}
if ($w(‘#checkboxGroup3’).expand) {
$w(‘#checkboxGroup3’).collapse();
}
if ($w(‘#texttherapeute’).expand) {
$w(‘#texttherapeute’).collapse();
}
if ($w(‘#grostext’).collapsed) {
$w(‘#grostext’).expand();
}
if ($w(‘#checkboxGroup4’).expand) {
$w(‘#checkboxGroup4’).collapse();
}
if ($w(‘#checkboxGroup5’).expand) {
$w(‘#checkboxGroup5’).collapse();
}
if ($w(‘#textsalon’).expand) {
$w(‘#textsalon’).collapse();
}
if ($w(‘#checkboxGroup1’).expand) {
$w(‘#checkboxGroup1’).collapse();
}
if ($w(‘#textdress’).expand) {
$w(‘#textdress’).collapse();
}
}
export function Button5_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#social’).expand) {
$w(‘#social’).collapse();
}
if ($w(‘#therapeute’).expand) {
$w(‘#therapeute’).collapse();
}
if ($w(‘#pairaidant’).expand) {
$w(‘#pairaidant’).collapse();
}
if ($w(‘#harley’).collapsed) {
$w(‘#harley’).expand();
}
if ($w(‘#textcover’).expand) {
$w(‘#textcover’).collapse();
}
if ($w(‘#infolettre’).expand) {
$w(‘#infolettre’).collapse();
}
if ($w(‘#hrd2kill’).expand) {
$w(‘#hrd2kill’).collapse();
}
if ($w(‘#repos’).expand) {
$w(‘#repos’).collapse();
}
if ($w(‘#salon’).expand) {
$w(‘#salon’).collapse();
}
if ($w(‘#dress’).expand) {
$w(‘#dress’).collapse();
}
if ($w(‘#textsocial’).collapsed) {
$w(‘#textsocial’).expand();
}
if ($w(‘#checkboxGroup2’).expand) {
$w(‘#checkboxGroup2’).collapse();
}
if ($w(‘#checkboxGroup3’).expand) {
$w(‘#checkboxGroup3’).collapse();
}
if ($w(‘#texttherapeute’).expand) {
$w(‘#texttherapeute’).collapse();
}
if ($w(‘#grostext’).expand) {
$w(‘#grostext’).collapse();
}
if ($w(‘#checkboxGroup4’).collapsed) {
$w(‘#checkboxGroup4’).expand();
}
if ($w(‘#checkboxGroup5’).expand) {
$w(‘#checkboxGroup5’).collapse();
}
if ($w(‘#textsalon’).expand) {
$w(‘#textsalon’).collapse();
}
if ($w(‘#checkboxGroup1’).expand) {
$w(‘#checkboxGroup1’).collapse();
}
if ($w(‘#textdress’).expand) {
$w(‘#textdress’).collapse();
}
}
export function Button6_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#social’).expand) {
$w(‘#social’).collapse();
}
if ($w(‘#therapeute’).expand) {
$w(‘#therapeute’).collapse();
}
if ($w(‘#pairaidant’).expand) {
$w(‘#pairaidant’).collapse();
}
if ($w(‘#harley’).expand) {
$w(‘#harley’).collapse();
}
if ($w(‘#textcover’).expand) {
$w(‘#textcover’).collapse();
}
if ($w(‘#infolettre’).collapsed) {
$w(‘#infolettre’).expand();
}
if ($w(‘#hrd2kill’).expand) {
$w(‘#hrd2kill’).collapse();
}
if ($w(‘#repos’).expand) {
$w(‘#repos’).collapse();
}
if ($w(‘#salon’).expand) {
$w(‘#salon’).collapse();
}
if ($w(‘#dress’).expand) {
$w(‘#dress’).collapse();
}
if ($w(‘#textsocial’).collapsed) {
$w(‘#textsocial’).expand();
}
if ($w(‘#checkboxGroup2’).expand) {
$w(‘#checkboxGroup2’).collapse();
}
if ($w(‘#checkboxGroup3’).expand) {
$w(‘#checkboxGroup3’).collapse();
}
if ($w(‘#texttherapeute’).expand) {
$w(‘#texttherapeute’).collapse();
}
if ($w(‘#grostext’).expand) {
$w(‘#grostext’).collapse();
}
if ($w(‘#checkboxGroup4’).expand) {
$w(‘#checkboxGroup4’).collapse();
}
if ($w(‘#checkboxGroup5’).expand) {
$w(‘#checkboxGroup5’).collapse();
}
if ($w(‘#textsalon’).expand) {
$w(‘#textsalon’).collapse();
}
if ($w(‘#checkboxGroup1’).expand) {
$w(‘#checkboxGroup1’).collapse();
}
if ($w(‘#textdress’).expand) {
$w(‘#textdress’).collapse();
}
}
export function Button7_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#social’).expand) {
$w(‘#social’).collapse();
}
if ($w(‘#therapeute’).expand) {
$w(‘#therapeute’).collapse();
}
if ($w(‘#pairaidant’).expand) {
$w(‘#pairaidant’).collapse();
}
if ($w(‘#harley’).expand) {
$w(‘#harley’).collapse();
}
if ($w(‘#textcover’).expand) {
$w(‘#textcover’).collapse();
}
if ($w(‘#infolettre’).expand) {
$w(‘#infolettre’).collapse();
}
if ($w(‘#hrd2kill’).collapsed) {
$w(‘#hrd2kill’).expand();
}
if ($w(‘#repos’).expand) {
$w(‘#repos’).collapse();
}
if ($w(‘#salon’).expand) {
$w(‘#salon’).collapse();
}
if ($w(‘#dress’).expand) {
$w(‘#dress’).collapse();
}
if ($w(‘#textsocial’).collapsed) {
$w(‘#textsocial’).expand();
}
if ($w(‘#checkboxGroup2’).expand) {
$w(‘#checkboxGroup2’).collapse();
}
if ($w(‘#checkboxGroup3’).expand) {
$w(‘#checkboxGroup3’).collapse();
}
if ($w(‘#texttherapeute’).expand) {
$w(‘#texttherapeute’).collapse();
}
if ($w(‘#grostext’).expand) {
$w(‘#grostext’).collapse();
}
if ($w(‘#checkboxGroup4’).expand) {
$w(‘#checkboxGroup4’).collapse();
}
if ($w(‘#checkboxGroup5’).collapsed) {
$w(‘#checkboxGroup5’).expand();
}
if ($w(‘#textsalon’).expand) {
$w(‘#textsalon’).collapse();
}
if ($w(‘#checkboxGroup1’).expand) {
$w(‘#checkboxGroup1’).collapse();
}
if ($w(‘#textdress’).expand) {
$w(‘#textdress’).collapse();
}
}
export function Button8_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#social’).expand) {
$w(‘#social’).collapse();
}
if ($w(‘#therapeute’).expand) {
$w(‘#therapeute’).collapse();
}
if ($w(‘#pairaidant’).expand) {
$w(‘#pairaidant’).collapse();
}
if ($w(‘#harley’).expand) {
$w(‘#harley’).collapse();
}
if ($w(‘#textcover’).expand) {
$w(‘#textcover’).collapse();
}
if ($w(‘#infolettre’).expand) {
$w(‘#infolettre’).collapse();
}
if ($w(‘#hrd2kill’).expand) {
$w(‘#hrd2kill’).collapse();
}
if ($w(‘#repos’).collapsed) {
$w(‘#repos’).expand();
}
if ($w(‘#salon’).expand) {
$w(‘#salon’).collapse();
}
if ($w(‘#dress’).expand) {
$w(‘#dress’).collapse();
}
if ($w(‘#textsocial’).collapsed) {
$w(‘#textsocial’).expand();
}
if ($w(‘#checkboxGroup2’).expand) {
$w(‘#checkboxGroup2’).collapse();
}
if ($w(‘#checkboxGroup3’).expand) {
$w(‘#checkboxGroup3’).collapse();
}
if ($w(‘#texttherapeute’).expand) {
$w(‘#texttherapeute’).collapse();
}
if ($w(‘#grostext’).collapsed) {
$w(‘#grostext’).expand();
}
if ($w(‘#checkboxGroup4’).expand) {
$w(‘#checkboxGroup4’).collapse();
}
if ($w(‘#checkboxGroup5’).expand) {
$w(‘#checkboxGroup5’).collapse();
}
if ($w(‘#textsalon’).expand) {
$w(‘#textsalon’).collapse();
}
if ($w(‘#checkboxGroup1’).expand) {
$w(‘#checkboxGroup1’).collapse();
}
if ($w(‘#textdress’).expand) {
$w(‘#textdress’).collapse();
}
}
export function Button9_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#social’).expand) {
$w(‘#social’).collapse();
}
if ($w(‘#therapeute’).expand) {
$w(‘#therapeute’).collapse();
}
if ($w(‘#pairaidant’).expand) {
$w(‘#pairaidant’).collapse();
}
if ($w(‘#harley’).expand) {
$w(‘#harley’).collapse();
}
if ($w(‘#textcover’).expand) {
$w(‘#textcover’).collapse();
}
if ($w(‘#infolettre’).expand) {
$w(‘#infolettre’).collapse();
}
if ($w(‘#hrd2kill’).expand) {
$w(‘#hrd2kill’).collapse();
}
if ($w(‘#repos’).expand) {
$w(‘#repos’).collapse();
}
if ($w(‘#salon’).collapsed) {
$w(‘#salon’).expand();
}
if ($w(‘#dress’).expand) {
$w(‘#dress’).collapse();
}
if ($w(‘#textsocial’).expand) {
$w(‘#textsocial’).collapse();
}
if ($w(‘#checkboxGroup1’).expand) {
$w(‘#checkboxGroup1’).collapse();
}
if ($w(‘#checkboxGroup2’).expand) {
$w(‘#checkboxGroup2’).collapse();
}
if ($w(‘#checkboxGroup3’).expand) {
$w(‘#checkboxGroup3’).collapse();
}
if ($w(‘#texttherapeute’).expand) {
$w(‘#texttherapeute’).collapse();
}
if ($w(‘#grostext’).collapsed) {
$w(‘#grostext’).expand();
}
if ($w(‘#checkboxGroup4’).expand) {
$w(‘#checkboxGroup4’).collapse();
}
if ($w(‘#checkboxGroup5’).expand) {
$w(‘#checkboxGroup5’).collapse();
}
if ($w(‘#textsalon’).collapsed) {
$w(‘#textsalon’).expand();
}
if ($w(‘#textdress’).expand) {
$w(‘#textdress’).collapse();
}
}
export function Button10_click(event) {
if ($w(‘#wixForms1’).collapsed) {
$w(‘#wixForms1’).expand();
}
if ($w(‘#social’).expand) {
$w(‘#social’).collapse();
}
if ($w(‘#therapeute’).expand) {
$w(‘#therapeute’).collapse();
}
if ($w(‘#pairaidant’).expand) {
$w(‘#pairaidant’).collapse();
}
if ($w(‘#harley’).expand) {
$w(‘#harley’).collapse();
}
if ($w(‘#textcover’).expand) {
$w(‘#textcover’).collapse();
}
if ($w(‘#infolettre’).expand) {
$w(‘#infolettre’).collapse();
}
if ($w(‘#hrd2kill’).expand) {
$w(‘#hrd2kill’).collapse();
}
if ($w(‘#repos’).expand) {
$w(‘#repos’).collapse();
}
if ($w(‘#salon’).expand) {
$w(‘#salon’).collapse();
}
if ($w(‘#dress’).collapsed) {
$w(‘#dress’).expand();
}
if ($w(‘#textsocial’).collapsed) {
$w(‘#textsocial’).expand();
}
if ($w(‘#checkboxGroup1’).collapsed) {
$w(‘#checkboxGroup1’).expand();
}
if ($w(‘#checkboxGroup2’).expand) {
$w(‘#checkboxGroup2’).collapse();
}
if ($w(‘#checkboxGroup3’).expand) {
$w(‘#checkboxGroup3’).collapse();
}
if ($w(‘#texttherapeute’).expand) {
$w(‘#texttherapeute’).collapse();
}
if ($w(‘#grostext’).expand) {
$w(‘#grostext’).collapse();
}
if ($w(‘#checkboxGroup4’).expand) {
$w(‘#checkboxGroup4’).collapse();
}
if ($w(‘#checkboxGroup5’).expand) {
$w(‘#checkboxGroup5’).collapse();
}
if ($w(‘#textsalon’).expand) {
$w(‘#textsalon’).collapse();
}
if ($w(‘#textdress’).collapsed) {
$w(‘#textdress’).expand();
}
}
Let me know if you need extra information. Any help is appreciated.