# Mail form send + go to next frame

**URL:** <https://forum.kirupa.com/t/mail-form-send-go-to-next-frame/250438>\
**Category:** Uncategorized\
**Created:** [January 29, 2008, 4:51pm UTC](https://forum.kirupa.com/t/mail-form-send-go-to-next-frame/250438 "2008-01-29T16:51:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snoot75](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@snoot75](https://forum.kirupa.com/u/snoot75)\
**Post date:** [January 29, 2008, 4:51pm UTC](https://forum.kirupa.com/t/mail-form-send-go-to-next-frame/250438/1 "2008-01-29T16:51:13Z")

</div>

**mail form send + go to next frame**  
Howdy,

Just a thing with a mail form, maybe very basic for you all in here but just wondered if someone could help, basically its a submit button with action script, the button sends of the php file and thats all grand…

on (release) {  
// send variables in form movieclip (the textfields)  
// to email PHP page which will send the mail  
form.loadVariables(“email.php”, “POST”);  
}

thing is i want it to play a certain frame after it and thought it would be something like  
on (release) {  
gotoAndStop(2);  
}

thing is that it only does the next frame script and does not send to the php, if i do not have the gotoandstop(2) and just leave the php part then that works, anyone any ideas as to why the two scripts will not work together or what way should i arrange the script, maybe i have it backwards, just learning flash so go easy on me…

thanks
