Skip to main content
Inspiring
April 22, 2006
Answered

If Else in my Form code

  • April 22, 2006
  • 1 reply
  • 218 views
I have my code and I am getting emails from my site. I decided to add the code:
if (name eq "" or email eq "" or message eq ""){
stop ();
}else{

But it isn't working. Should I be using something else? Or is it in the wrong place? Here's how I have it now. But if I hit submit with none of the firlds completed I still receive a blank email from my site.

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer MultiMedia13
Oops, I figured it out!

1 reply

MultiMedia13AuthorCorrect answer
Inspiring
April 22, 2006
Oops, I figured it out!