_sinan_ adlı üyeden alıntı: mesajı görüntüle
Son resimde öyle yapmıştım Hocam.

Emin olmamakla beraber sanırım burdan çözebilirim ?

  // displays the possible choices on a question
  function display_choices($question, $choices) {
  	   $autocontinue = '';
  	   if($question->qtype == 'radio' and $question->autocontinue) {
  	   	$autocontinue = "onclick=\"chainedQuiz.goon(".$question->quiz_id.", '".admin_url('admin-ajax.php')."');\"";
  	   }
  	   
  	   
		switch($question->qtype) {
			case 'text':
				return "<div class='chained-quiz-choice'><textarea class='chained-quiz-frontend' name='answer'></textarea></div>";
			break;
			case 'radio':
			case 'checkbox':
				$type = $question->qtype;
				$name = ($question->qtype == 'radio') ? "answer": "answers[]";
				
				$output = "";
				foreach($choices as $choice) {
					$choice_text = stripslashes($choice->choice);
					
					$output .= "<div class='chained-quiz-choice'><label class='chained-quiz-label'><input class='chained-quiz-frontend chained-quiz-$type' type='$type' name='$name' value='".$choice->id."' $autocontinue> $choice_text</label></div>";
				}
						
				return $output;
			break;
		}
  } // end display_choices
 // displays the possible choices on a question 
  function display_choices($question, $choices) { 
         $autocontinue = ''; 
         if($question->qtype == 'radio' and $question->autocontinue) { 
             $autocontinue = "onclick=\"chainedQuiz.goon(".$question->quiz_id.", '".admin_url('admin-ajax.php')."');\""; 
         } 
          
          
        switch($question->qtype) { 
            case 'text': 
                return "<div class='chained-quiz-choice' style='float:left;position:relative'><textarea class='chained-quiz-frontend' name='answer'></textarea></div>"; 
            break; 
            case 'radio': 
            case 'checkbox': 
                $type = $question->qtype; 
                $name = ($question->qtype == 'radio') ? "answer": "answers[]"; 
                 
                $output = ""; 
                foreach($choices as $choice) { 
                    $choice_text = stripslashes($choice->choice); 
                     
                    $output .= "<div class='chained-quiz-choice' style='float:left;position:relative'><label class='chained-quiz-label'><input class='chained-quiz-frontend chained-quiz-$type' type='$type' name='$name' value='".$choice->id."' $autocontinue> $choice_text</label></div>"; 
                } 
                         
                return $output; 
            break; 
        } 
  } // end display_choices
olarak denermisiniz?