Skip to main content
January 31, 2012
Question

PHP/MySQL checklist choices posted to other page

  • January 31, 2012
  • 1 reply
  • 789 views

Ok I will simplify this since I know my list is getting generated properly.

This creates the following code for the form:

<form id="form1" name="form1" method="post" action="formativeindex.php">

Class:

  <label for="class"></label>

  <input type="text" name="class" id="class" />

  Date:

  <label for="date"></label>

  <input type="text" name="date" id="date" /> 
  Topic:
  <label for="topic"></label>
  <input type="text" name="topic" id="topic" />
  <br /> <br />
 
 
  <fieldset>
    <legend>Exceeding Grade Level Expectations Indicators </legend>
          <input type="checkbox" name="exindicator[]" value="Thoroughly explains concepts and consistently demonstrates a deep understanding of the concept or skill." id="Thoroughly explains concepts and consistently demonstrates a deep understanding of the concept or skill."
    
/>
     
      Thoroughly explains concepts and consistently demonstrates a deep understanding of the concept or skill.<br />
      <input type="checkbox" name="exindicator[]" value="Can teach the concept to other students (often through a variety of methods)" id="Can teach the concept to other students (often through a variety of methods)" 
    
/>
     
      Can teach the concept to other students (often through a variety of methods)<br />
      <input type="checkbox" name="exindicator[]" value="Works independently or works confidently and collaboratively in groups" id="Works independently or works confidently and collaboratively in groups"
    
/>
     
      Works independently or works confidently and collaboratively in groups<br />
      <input type="checkbox" name="exindicator[]" value="Consistently uses established skill set for problem solving and selects the most appropriate tools/ strategies for the situation and can explain why (justify) this method was chosen" id="Consistently uses established skill set for problem solving and selects the most appropriate tools/ strategies for the situation and can explain why (justify) this method was chosen"
    
/>
     
      Consistently uses established skill set for problem solving and selects the most appropriate tools/ strategies for the situation and can explain why (justify) this method was chosen<br />
      <input type="checkbox" name="exindicator[]" value="Describes and analyzes topics with detailed and insightful supporting evidence" id="Describes and analyzes topics with detailed and insightful supporting evidence"
    
/>
      
      Describes and analyzes topics with detailed and insightful supporting evidence<br />
      <input type="checkbox" name="exindicator[]" value="Takes risks and analyzes results" id="Takes risks and analyzes results"
    
/>
     
      Takes risks and analyzes results<br />
      <input type="checkbox" name="exindicator[]" value="Insightfully analyzes relevant information and conveys own thoughts and connections regarding the outcome/concept in a personally meaningful and engaging way." id="Insightfully analyzes relevant information and conveys own thoughts and connections regarding the outcome/concept in a personally meaningful and engaging way."
    
/>
     
      Insightfully analyzes relevant information and conveys own thoughts and connections regarding the outcome/concept in a personally meaningful and engaging way.<br />
      <input type="checkbox" name="exindicator[]" value="Engages in a variety of contexts and accurately uses new vocabulary" id="Engages in a variety of contexts and accurately uses new vocabulary"
    
/>
     
      Engages in a variety of contexts and accurately uses new vocabulary<br />
<label for="exindicator"></label>
    <br />
</fieldset>
  <br />
<fieldset><legend>Meeting Grade Level Expectation Indicators</legend>
    <input type="checkbox" name="meindicator[]" id="You explain (Examine, Describe, Identify) concepts with detail and consistently demonstrate an understanding of the concept or skill"
  
  
value="You explain (Examine, Describe, Identify) concepts with detail and consistently demonstrate an understanding of the concept or skill"
   
/>
   You explain (Examine, Describe, Identify) concepts with detail and consistently demonstrate an understanding of the concept or skill<br />
   <input type="checkbox" name="meindicator[]" id="Key elements of the outcome are included & demonstrated.  (i.e. All required parts are included – refer to assessment criteria and rubrics)"
  
  
value="Key elements of the outcome are included & demonstrated.  (i.e. All required parts are included – refer to assessment criteria and rubrics)"
   
/>
   Key elements of the outcome are included & demonstrated.  (i.e. All required parts are included – refer to assessment criteria and rubrics)<br />
   <input type="checkbox" name="meindicator[]" id="Evidence of learning is visible in reflections, portfolios, discussions, assessments."
  
  
value="Evidence of learning is visible in reflections, portfolios, discussions, assessments."
   
/>
   Evidence of learning is visible in reflections, portfolios, discussions, assessments.<br />
   <input type="checkbox" name="meindicator[]" id="You work independently or collaboratively when required"
  
  
value="You work independently or collaboratively when required"
   
/>
   You work independently or collaboratively when required<br />
   <input type="checkbox" name="meindicator[]" id="You have an established skill set"
  
  
value="You have an established skill set"
   
/>
   You have an established skill set<br />
   <input type="checkbox" name="meindicator[]" id="When problem solving with a teacher (i.e. getting feedback on an assessment), you come with questions and possible solutions. You are looking for a conversation which asks you questions to help you think through the assessment.  The work submitted after the discussion is original to you (i.e. you have considered the discussion and made a decision that reflects how you can best demonstrate your knowledge.)"
  
  
value="When problem solving with a teacher (i.e. getting feedback on an assessment), you come with questions and possible solutions. You are looking for a conversation which asks you questions to help you think through the assessment.  The work submitted after the discussion is original to you (i.e. you have considered the discussion and made a decision that reflects how you can best demonstrate your knowledge.)"
   
/>
   When problem solving with a teacher (i.e. getting feedback on an assessment), you come with questions and possible solutions. You are looking for a conversation which asks you questions to help you think through the assessment.  The work submitted after the discussion is original to you (i.e. you have considered the discussion and made a decision that reflects how you can best demonstrate your knowledge.)<br />

<label for="meindicator">
</label>

</fieldset>
<input name="submit" type="submit" id="submit" value="Fill Form" />
</form>

how do I get the values to them post to another page? The standard "text" inputs go to the next page fine. 

if i use the code:

<?php

$exindicators = $_POST['exindicator'];

foreach ($exindicators as $value);

echo $value. "<br />";

?>

I only get the last value in the list displayed and not any previously checked selections.

I hope this makes sense. I am working in Dreamweaver CS5

Thanks

Message was edited by: Mr. Forbes

This topic has been closed for replies.

1 reply

February 1, 2012

I figured it out.