# Flash form \> Popup window on submit

**URL:** <https://forum.kirupa.com/t/flash-form-popup-window-on-submit/22644>\
**Category:** Uncategorized\
**Created:** [June 6, 2003, 3:32pm UTC](https://forum.kirupa.com/t/flash-form-popup-window-on-submit/22644 "2003-06-06T15:32:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenail](https://avatars.discourse-cdn.com/v4/letter/c/90ced4/32.png) [@chenail](https://forum.kirupa.com/u/chenail)\
**Post date:** [June 6, 2003, 3:32pm UTC](https://forum.kirupa.com/t/flash-form-popup-window-on-submit/22644/1 "2003-06-06T15:32:53Z")

</div>

I have a mailing list form in my flash movie that send his data to a CGI script. What I want to do, is to get the confirmation page (html) to open on a popup window when I submit the flash form.

to submit the informations, I use :

> function doSubmit() {  
> userData = new LoadVars();  
> userData.adresse = adresse;  
> userData.type = type.getValue();  
> userData.send(“Path/to/my/script/mail/mailing.cgi”, “”, “post”) ;   
> }

I have already try to use this line with a little JS in the Head of my HTML page :

> userData.send(“javascript:NewWindow(‘Path/to/my/script/mail/mailing.cgi’,‘Contact’,‘290’,‘350’,‘no’)”, “”, “post”);

but the data don’t seem to have been sent to my CGI script.

Does anyone ever tried such a thing?
