Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

krishna sapkal
Java Web Development Techdegree Student 49 Pointswhy form is not postin values?
<form>
<div>
<h4> Question 1...........................?</h4>
<input type="radio" id="radio01" value="10" name="user_que1" />
<label for="radio01"><span></span>POOR</label>
</div>
<div>
<input type="radio" id="radio02" value="25" name="user_que1" />
<label for="radio02"><span></span>GOOD</label>
</div>
<div>
<input type="radio" id="radio03" value="50" name="user_que1" />
<label for="radio03"><span></span>VERY GOOD</label>
</div>
<div>
<input type="radio" id="radio04" value="100" name="user_que1" />
<label for="radio04"><span></span>EXCELLENT</label>
</div>
<div>
<h4> Question 2..........................?</h4>
<input type="radio" id="radio05" value="10" name="user_que2" />
<label for="radio05"><span></span>POOR</label>
</div>
<div>
<input type="radio" id="radio06" value="25" name="user_que2" />
<label for="radio06"><span></span>GOOD</label>
</div>
<div>
<input type="radio" id="radio07" value="50" name="user_que2" />
<label for="radio07"><span></span>VERY GOOD</label>
</div>
<div>
<input type="radio" id="radio08" value="100" name="user_que2" />
<label for="radio08"><span></span>EXCELLENT</label>
</li>
</div>
<div>
<h4> Question 3</h4>
<input type="radio" id="radio09" value="10" name="user_que3" />
<label for="radio09"><span></span>POOR</label>
</div>
<div>
<input type="radio" id="radio10" value="25" name="user_que3" />
<label for="radio10"><span></span>GOOD</label>
</div>
<div>
<input type="radio" id="radio11" value="50" name="user_que3" />
<label for="radio11"><span></span>VERY GOOD</label>
</div>
<div>
<input type="radio" id="radio12" value="100" name="user_que3" />
<label for="radio12"><span></span>EXCELLENT</label>
</div>
<div>
<h4> Question.....................4</h4>
<input type="radio" id="radio13" value="10" name="user_que4" />
<label for="radio13"><span></span>POOR</label>
</div>
<div>
<input type="radio" id="radio14" value="25" name="user_que4" />
<label for="radio14"><span></span>GOOD</label>
</div>
<div>
<input type="radio" id="radio15" value="50" name="user_que4" />
<label for="radio15"><span></span>VERY GOOD</label>
</div>
<div>
<input type="radio" id="radio16" value="100" name="user_que4" />
<label for="radio16"><span></span>EXCELLENT</label>
</div>
<div>
<h4> Question ..............5</h4>
<input type="radio" id="radio17" value="10" name="user_que5" />
<label for="radio17"><span></span>POOR</label>
</div>
<div>
<input type="radio" id="radio18" value="25" name="user_que5" />
<label for="radio18"><span></span>GOOD</label>
</div>
<div>
<input type="radio" id="radio19" value="50" name="user_que5" />
<label for="radio19"><span></span>VERY GOOD</label>
</div>
<div>
<input type="radio" id="radio20" value="100" name="user_que5" />
<label for="radio20"><span></span>EXCELLENT</label>
</div>
<div>
<a href="f.php"><button type="submit" formmethod="GET" formaction="feedback.php" >Submit<button></a>
</div>
</form>

krishna sapkal
Java Web Development Techdegree Student 49 Pointspoor good very good excellent are the redio buttons idk why treahouse is only showing their lebels.

krishna sapkal
Java Web Development Techdegree Student 49 Pointsthnx luke
1 Answer

Luke Pettway
16,591 PointsAre you trying to get information back from the server or send it to be stored?
I see that you have an anchor wrapped around a button which isn't valid HTML5 (http://stackoverflow.com/questions/6393827/can-i-nest-a-button-element-inside-an-a-using-html5)
<a href="f.php"><button type="submit" formmethod="GET" formaction="feedback.php" >Submit<button></a>
I think that could possibly be your issue, have you tried removing the anchor and just trying to button by itself?

krishna sapkal
Java Web Development Techdegree Student 49 Points<!DOCTYPE html>
<?php
$pageTitle="Welcome";
include ("inc/header.php");
?>
<section> <form >
<h3>Enter ID or Rollno</h3>
<input type="text" name="user_rollno" >
<h3>Enter Password </h3>
<input type="password" name="user_password" >
<p>
<a href="feedback.php" > <button type="submit" formmethod="POST" formaction="teachers_part.php">Teacher</button></a>
<a href="feedback.php" > <button type="submit" formmethod="POST" formaction="feedbackstartpage.php">Student</button></a>
</form>
</section>
<?php include ("inc/footer.php"); ?>
this is my index page hear also i wrapped the anchr around the button but its working fine...
Luke Pettway
16,591 PointsLuke Pettway
16,591 PointsI modified your post so that it used markdown to make the code easier to read.