# Email form, button with If statement

**URL:** <https://forum.kirupa.com/t/email-form-button-with-if-statement/30484>\
**Category:** flash\
**Created:** [September 9, 2003, 2:21pm UTC](https://forum.kirupa.com/t/email-form-button-with-if-statement/30484 "2003-09-09T14:21:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://forum.kirupa.com/u/Dave)\
**Post date:** [September 9, 2003, 2:21pm UTC](https://forum.kirupa.com/t/email-form-button-with-if-statement/30484/1 "2003-09-09T14:21:47Z")

</div>

I have this email form. Click on the bottom where it says submit track.

It takes you to a form section.

On that button i have an if statement, but it doesnt work.

I only want the playhead to play when all 3 fields have been filled out, i thought i had it right, but i was wrong Ⓜ

And i dnt want the playhead to go anywhere if it hasnt been filled.

Anyone?

:hair:

Thanks
