# Request Form help pls

**URL:** <https://forum.kirupa.com/t/request-form-help-pls/100266>\
**Category:** Uncategorized\
**Created:** [January 27, 2004, 4:13pm UTC](https://forum.kirupa.com/t/request-form-help-pls/100266 "2004-01-27T16:13:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scooby4ny](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@scooby4ny](https://forum.kirupa.com/u/scooby4ny)\
**Post date:** [January 27, 2004, 4:13pm UTC](https://forum.kirupa.com/t/request-form-help-pls/100266/1 "2004-01-27T16:13:28Z")

</div>

I am trying to do the request form with PHP code…  
I am having few issues though…For some reason it DOES work and sends my PHP code to email BUT it does not go to the next frame which is Thank You for submitting Screen…When I add GotoandStop (2) which is 2nd frame with thank you screen then my PHP does not work… here is my outline:

It is Request form with bunch of fields put together in main “FORM”

the code on the main form with all the variables is:  
onClipEvent(data){  
// show welcome screen  
\_root.nextFrame();  
}

the code for SUBMIT button is:  
on (release) {  
form.loadVariables(“request.php”, “POST”);  
}

Now this code works fine BUT it doesn’t go to nextFrame and just sits… in same window… When I do  
on (release) {  
form.loadVariables(“request.php”, “POST”);  
gotoAndStop(2);  
}

then the PHP does not work and I don’t receive any request form email…

What can be the problem and how could I solve this??  
Tips appreciated… Thanks!
