I am very new to using both a server - side and client - side at the same time with web programming. I have a simple page with two text fields, one is called topTextField
, the other bottomTextFeild
, and a submit button called content
. When I press 'Submit' the data goes over to my Mongoose server instance, it gets processed by a simple Lua script, and
a link appears for the client with the auto - fill form data e.g localhost:8080?topText=blah&bottomText=moreblah&content=Submit
, or one of the few variants I have tried, weather I manually enter this url, or put it in a <a href...
, it does not seem to pre - fill the form data, even if I clear my cache. I know this seems like a simple task, but I am quite lost. How do I get the form data to pre - fill in this case?
Asked
Active
Viewed 128 times
0

Bergi
- 630,263
- 148
- 957
- 1,375

The Floating Brain
- 896
- 8
- 24
1 Answers
0
Use method=pst in form attribue like following
<form name="input" action="html_form_action.asp" method="post">
.......
</form>
I guess the server needs post request to accept the data.

Kundu
- 3,944
- 3
- 16
- 21
-
Thanks for the answer, however I do have it like that. – The Floating Brain Dec 01 '13 at 21:06