# Booking page not going to "thank you" screen

**URL:** <https://forum.kirupa.com/t/booking-page-not-going-to-thank-you-screen/239378>\
**Category:** Uncategorized\
**Created:** [September 21, 2007, 2:08am UTC](https://forum.kirupa.com/t/booking-page-not-going-to-thank-you-screen/239378 "2007-09-21T02:08:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denise032](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@Denise032](https://forum.kirupa.com/u/Denise032)\
**Post date:** [September 21, 2007, 2:08am UTC](https://forum.kirupa.com/t/booking-page-not-going-to-thank-you-screen/239378/1 "2007-09-21T02:08:23Z")

</div>

I have a booking page set up on this site: [http://www.oasisbanddc.com](http://www.oasisbanddc.com)

It’s 100% functional, meaning I receive the emails and all the content. The issue is that after the user clicks the send button, the page just sits still rather than going to the “thank you” message…

**send btn code**

```auto
on (release) {
    var sendLV:LoadVars = new LoadVars();
    sendLV.name = name;
    sendLV.phone = phone;
    sendLV.cellPhone = cellPhone;
    sendLV.emailbk = emailbk;
    sendLV.month = monthin.selectedItem.label;
    sendLV.date = datein.selectedItem.label;
    sendLV.year = yearin.selectedItem.label;
    sendLV.month2 = monthin2.selectedItem.label;
    sendLV.date2 = datein2.selectedItem.label;
    sendLV.year2 = yearin2.selectedItem.label;
    sendLV.locationin = locationin.selectedItem.label;
    sendLV.typein = typein.selectedItem.label;
    sendLV.musictypein = musictypein.selectedItem.label;
    sendLV.guestnum = guestnum.selectedItem.label;
    sendLV.timefrom = timefrom.selectedItem.label;
    sendLV.timeto = timeto.selectedItem.label;
    sendLV.street1 = street1;
    sendLV.street2 = street2;
    sendLV.city = city;
    sendLV.statein = statein.selectedItem.label;
    sendLV.zipcode = zipcode;
    sendLV.message = message;
    sendLV.sendAndLoad("email.php", sendLV, "post");
    sendLV.onLoad = function(success) {
** if (success) {
            trace("file loaded");
            if (this.mailSent == "ok") {
                _root.gotoAndStop(3);
                } else {
                    trace("mail could not be sent!");
                    }
                    } else {
                        trace("couldn't load the file");
                        }
                        };
                        }**

```

and, obviously, on frame three is a message that says:

> Your email has been sent.  
> You will be contacted via phone and/or email as soon as possible.  
> Thank You!
