how can process  only items with checked check-box?

----------- html -------------------



<html>
<head>
<title>Untitled Document</title>
</head>

<body>
<form name="form1" method="post" action="">
  <p> 
    <input type="checkbox" name="checkbox" value="checkbox">
    <input type="text" name="textfield[1]">
  </p>
  <p> 
    <input type="checkbox" name="checkbox" value="checkbox">
        <input type="text" name="textfield[2]">
  </p>
  <p> 
    <input type="checkbox" name="checkbox" value="checkbox"> 
    <input type="text" name="textfield[3]">
  </p>
  <p> 
    <input type="checkbox" name="checkbox" value="checkbox">
        <input type="text" name="textfield[4]">
  </p>
  <p>
    <input type="checkbox" name="checkbox" value="checkbox">
    <input type="text" name="textfield[5]">
  </p>
</form>
</body>
</html>



----------- html -------------------







Reply via email to