AnsweredAssumed Answered

Any HTML expert, Help needed, can I keep test1.htm for "action"

Question asked by Vasanta Tanna on Oct 6, 2009
Latest reply on Oct 6, 2009 by firstname lastname

I wrote small htm file to test LED using radio button, when I click on apply, I cannot see anywhere data collected, I am not sure what to give for "action", temporarily I am giving test1.htm, not sure that is correct or not. I added this file to the directory, then click on make to create C file, then build again and loaded, not getting any output fo rtesting, appreciated for help. testing with LITE code. 

 

 

 

$ cat led_test.htm
<html>
<head>
<title>My Page</title>
</head>
<body>
<form name="myform" action="test1.htm" method="POST

<div align="center">
LED11 <input type="radio" name="group1" value="ON"> ON
<input type="radio" name="group1" value="OFF" > OFF
<input type="radio" name="group1" value="Reboot"> REBOOT <br>
<br>
LED22 <input type="radio" name="group2" value="ON"> ON
<input type="radio" name="group2" value="OFF"> OFF
<input type="radio" name="group2" value="Reboot" > REBOOT<br>
<br>
LED3 <input type="radio" name="group3" value="ON"> ON
<input type="radio" name="group3" value="OFF"> OFF
<input type="radio" name="group3" value="Reboot" > REBOOT<br>
<br>
LED4 <input type="radio" name="group4" value="ON"> ON
<input type="radio" name="group4" value="OFF"> OFF
<input type="radio" name="group4" value="Reboot" > REBOOT<br>
<br>
</div>

<div align="center"><br>
<INPUT TYPE=SUBMIT VALUE="Apply">
</div>
</form>
</body>
</html>

Outcomes