# HELP please - send a registration with hidden values

**URL:** <https://forum.kirupa.com/t/help-please-send-a-registration-with-hidden-values/256478>\
**Category:** programming\
**Created:** [April 3, 2008, 12:57pm UTC](https://forum.kirupa.com/t/help-please-send-a-registration-with-hidden-values/256478 "2008-04-03T12:57:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cascading](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@Cascading](https://forum.kirupa.com/u/Cascading)\
**Post date:** [April 3, 2008, 12:57pm UTC](https://forum.kirupa.com/t/help-please-send-a-registration-with-hidden-values/256478/1 "2008-04-03T12:57:57Z")

</div>

Hi, this is my first post here and I’m new to actionscript. I have a simple (very simple!) and functional HTML form that registers an email to a newsletter solution on the web. I just need to create a Flash version of this form but it doesn’t want to work…

The hidden field never seem to follow… what am i doing wrong!!?

HTML FORM-----  
\<form action=“[http://thiswebsite](http://thiswebsite)” method=“post”\>  
\<input type=hidden name=“slid” value=“a number value”\>  
\<input type=hidden name=“cmd” value=“subscribe”\>  
\<input type=hidden name=“goto” value=“http://”\>  
\<table border=0\>  
\<tr\>\<td\>E-Mail:\</td\>  
\<td\>\<input type=text name=email size=25\>\</td\>\</tr\>  
\<tr\>\<td colspan=2\>\<input type=hidden name=“format” value=“html”\>\</td\>\</tr\>  
\<tr\>\<td colspan=2 align=right\>\<input type=submit value=“Subscribe”\>\</td\>\</tr\>\</table\>\</form\>

MY AS 2.0 CODE-----  
function sendForm () {  
my\_lv = new LoadVars ();  
my\_lv.email = \_parent.email.text;  
my\_lv.slid = " a number value ";  
my\_lv.cmd = “subscribe”;  
my\_lv.goto = “http://”;  
my\_lv.send (“[http://thiswebsite](http://thiswebsite)”, “POST”);  
nextFrame ();  
}  
send\_btn.onRelease = function () {  
if (email == “”) {  
status\_txt.text = “Please enter email …”;  
} else {  
status\_txt.text = “”;  
sendForm ();  
}  
};

If anyone can help…
