When I parse the code below, I get the textfield value appearing in the text box as it should, however how do I encode the value that's inputed into the textarea box. (I wanna transmit this value to another page) The information that's entered into the textarea has a bunch of non-standard characters and when I pass it via post or GET I need to php encode it (then decode the value on the transmitted page to read). I guess I need to add the encode function with a hidden field possibly? How would the textarea section below translate into a hidden field that would create a value variable to encode and pass along to the resulting page?
<form action="index.php" method="GET">
<p>
<div style="border: 1px solid #808080;width:100%;height:325px" >
<div id="inputdraw_place">
</div>
<script type="text/javascript">
var original = new InputDraw("inputdraw.non-commercial.v1.5.swf", "inputdraw_place", {id:"input_draw_test_svg", width:"100%", height:"100%", animation:60, stroke_style:"5 1 rgb(170,34,34)", background_image:"/images/backgrounds/lisbon.jpg"});
</script>
</div>
<label for="input_draw_test_svg"> <h3>Result</h3> </label>
<p>The result end up in this textarea that normally would be a hidden field.
<br/>
[B]<textarea cols="50" id="input_draw_test_svg" name="input_draw_testsvg" rows="10"></textarea> [/B]
<input id=""input_draw_test_svg" name="id" type="hidden" value="6" />
<input type="hidden" name=""input_draw_testsvg" id="input_draw_test_svg">
<input type="submit" value="Submit Data!" name="submit">
</form>