# Help with forms?

**URL:** <https://forum.kirupa.com/t/help-with-forms/151776>\
**Category:** Uncategorized\
**Created:** [June 18, 2005, 12:21am UTC](https://forum.kirupa.com/t/help-with-forms/151776 "2005-06-18T00:21:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ineedsleep](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Post date:** [June 18, 2005, 12:21am UTC](https://forum.kirupa.com/t/help-with-forms/151776/1 "2005-06-18T00:21:04Z")

</div>

I have an email form that works well but I need to make it so they cant send blank forms

this is the script Im using

on (press) {  
if (name.length==null || email.length==null || message1.length==null) {  
\_root.error\_mail.gotoAndStop(2);  
}  
else  
{  
form.loadVariables(“[http://www.djnow.co.uk/email.php](http://www.djnow.co.uk/email.php)”, “POST”);  
}  
}

I cant see how this isnt working? I dont see what what is wrong

could some one please help me out?
