# Post form via ASP

**URL:** <https://forum.kirupa.com/t/post-form-via-asp/62019>\
**Category:** Uncategorized\
**Created:** [August 24, 2004, 6:43am UTC](https://forum.kirupa.com/t/post-form-via-asp/62019 "2004-08-24T06:43:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simondo](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@simondo](https://forum.kirupa.com/u/simondo)\
**Post date:** [August 24, 2004, 6:43am UTC](https://forum.kirupa.com/t/post-form-via-asp/62019/1 "2004-08-24T06:43:19Z")

</div>

whats wrong with this AS - it dosen’t work! The ASP file it refers to is okay… it posts an email when combined with an html-form…???

**on (release) {  
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") ==  
-1) {  
EmailStatus = “Indtast din e-mail adresse”;  
} else if (!quest1.length) {  
EmailStatus = “Svar på spørgsmål 1”;  
} else if (!quest2.length) {  
EmailStatus = “Svar på spørgsmål 2”;  
} else if (!Navn.length) {  
EmailStatus = “Indtast dit navn”;  
} else if (!Adresse.length) {  
EmailStatus = “Indtast din adresse”;  
} else if (!By.length) {  
EmailStatus = “Indtast dit postnr. og by”;  
} else if (!Telefon.length) {  
EmailStatus = “Indtast dit telefonnr.”;  
} else {  
loadVariablesNum(“ASPMail.asp”, “0”, “POST”);  
EmailStatus = “Tak for dit svar…”;  
gotoAndPlay(“sendt”);  
}  
}**

I would be very thankful if anyone could help me with this…

simondo
