Abhishek Ashtekar
|
Write data to data server process using form
|
Abhishek Ashtekar
01/24/2011 6:38 AM
post82564
|
Write data to data server process using form
Hello,
I would like to write data to data server (ds) that is entered into the HTML form field
and submitted.
However I cannot understand, how can one manipulate the string value " data" so that it takes the value entered in the
form. (<!--#qnxvar write="var_name "data"" -->)
Normal qnxvar write works well and the variable change in the webserver is reflected on the html page.
Thanks,
Abhi
-----------------------------------------------------------------------------------------------------
Here is my HTML form code :
<META HTTP-EQUIV="" CONTENT="2;URL=index.shtml">
<html>
<head>
<title>AT91SAM9G20</title>
</head>
<body>
<tr><td valign="top"></td>
<td valign="top"><h2><i><B>Status</B></i></h2></td></tr>
<!-- Start magic -->
<P>
<!-- Show the Current Value Set -->
<!--#qnxvar format="<P>Variable Value Set = %s" -->
<!--#qnxvar read="ABHI 128" -->
<P>
<!-- End magic -->
<form name="input" action="index.shtml" method="get">
Set Variable: <input type="text" name="ABHI" <!--#qnxvar format="value="%s"" -->
<!--#qnxvar write="ABHI "%s"" -->
<input type="submit" value="Submit" />
</form>
</body>
</html>
------------------------------------------------------------------------------------------------------
|
|
|