# Help with form submit

**URL:** <https://forum.kirupa.com/t/help-with-form-submit/63861>\
**Category:** Uncategorized\
**Created:** [September 10, 2004, 5:34pm UTC](https://forum.kirupa.com/t/help-with-form-submit/63861 "2004-09-10T17:34:30Z")\
**Posts on this page:** 3\
**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/63861/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");
}{

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 10, 2004, 8:11pm UTC](https://forum.kirupa.com/t/help-with-form-submit/63861/2 "2004-09-10T20:11:25Z")

</div>

If have a Flash form example that works with a perl script.  
I could send it to you if you want.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 10, 2004, 8:15pm UTC](https://forum.kirupa.com/t/help-with-form-submit/63861/3 "2004-09-10T20:15:28Z")

</div>

Inflicted, i’m willing to try anything. please send via pm or email. thanks!

still open to suggestions tho.
