# Help with form submit

**URL:** <https://forum.kirupa.com/t/help-with-form-submit/122144>\
**Category:** Uncategorized\
**Created:** [September 10, 2004, 5:34pm UTC](https://forum.kirupa.com/t/help-with-form-submit/122144 "2004-09-10T17:34:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tae](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@Tae](https://forum.kirupa.com/u/Tae)\
**Post date:** [September 10, 2004, 5:34pm UTC](https://forum.kirupa.com/t/help-with-form-submit/122144/1 "2004-09-10T17:34:30Z")

</div>

i searched and thought i found what i was looking for but couldn’t get things to work so if someone could help with what i think is a simple problem for experienced scripters, i’d really appreciate it.

i have an html form that looks like this:

```auto
<FORM action="http://domain.com/article.asp?id=51&article=1" method=post>
<INPUT id=prod_type type=hidden value=View name=prod_type>
<INPUT id=prod_type type=hidden value=dispSub name=prod_type>
<INPUT id=ProdId type=hidden value=3 name=ProdId>
<INPUT type=submit value="Submit"> 
</FORM>

```

i need to duplicate this in my flash button. i tried these but neither of them works:

```auto
on (release) {
	subscribe = new LoadVars();
	subscribe.prod_type = "View";
	subscribe.prod_type = "dispSub";
	subscribe.ProdId = "3";
	subscribe.send("http://domain.com/article.asp?id=51&article=1", "_blank", "POST"); 
}

```

and

```auto
on (release) {
	var prod_type:String = "View";
	var prod_type:String = "dispSub";
	var ProdId:String = "3";
	getURL("http://domain.com/article.asp?id=51&article=1", "_blank", "POST");
}{

```
