Title: Fixed &quot;Single choice options&quot;
Last modified: August 30, 2016

---

# Fixed "Single choice options"

 *  [manger25](https://wordpress.org/support/users/manger25/)
 * (@manger25)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/fixed-single-choice-options/)
 * Before:
 *     ```
       <?php
           }
           private function singleChoiceOptions($data)
       	 {
               $single = $data[0];
               ?>
               <div class="postbox" id="singleChoiceOptions">
                   <h3 class="hndle"><?php _e('Single choice options', 'wp-pro-quiz'); ?></h3>
   
                   <div class="inside">
                       <p class="description">
                           <?php _e('If "Different points for each answer" is activated, you can activate a special mode.<br> This changes the calculation of the points',
                               'wp-pro-quiz'); ?>
                       </p>
                       <label>
                           <input type="checkbox" name="answerPointsDiffModusActivated" value="1" <?php $this->checked($this->question->isAnswerPointsDiffModusActivated()); ?>>
                           <?php _e('Different points - modus 2 activate', 'wp-pro-quiz'); ?>
                       </label>
                       <br><br>
   
                       <p class="description">
                           <?php _e('Disables the distinction between correct and incorrect.', 'wp-pro-quiz'); ?><br>
                       </p>
                       <label>
                           <input type="checkbox" name="disableCorrect"
                           value="1" <?php $this->checked($this->question->isDisableCorrect()); ?>>
                           <?php _e('Do not show correct and incorrect.', 'wp-pro-quiz'); ?>
                       </label>
   
                       <div style="padding-top: 20px;">
                           <a href="#" id="clickPointDia"><?php _e('Explanation of points calculation', 'wp-pro-quiz'); ?></a>
                           <?php $this->answerPointDia(); ?>
                       </div>
                   </div>
               </div>
   
               <?php
       ```
   
 * After capitalized name values in the inputs:
 *     ```
       <?php
           }
           private function singleChoiceOptions($data)
       	 {
               $single = $data[0];
               ?>
               <div class="postbox" id="singleChoiceOptions">
                   <h3 class="hndle"><?php _e('Single choice options', 'wp-pro-quiz'); ?></h3>
   
                   <div class="inside">
                       <p class="description">
                           <?php _e('If "Different points for each answer" is activated, you can activate a special mode.<br> This changes the calculation of the points',
                               'wp-pro-quiz'); ?>
                       </p>
                       <label>
                           <input type="checkbox" name="AnswerPointsDiffModusActivated" value="1" <?php $this->checked($this->question->isAnswerPointsDiffModusActivated()); ?>>
                           <?php _e('Different points - modus 2 activate', 'wp-pro-quiz'); ?>
                       </label>
                       <br><br>
   
                       <p class="description">
                           <?php _e('Disables the distinction between correct and incorrect.', 'wp-pro-quiz'); ?><br>
                       </p>
                       <label>
                           <input type="checkbox" name="DisableCorrect"
                           value="1" <?php $this->checked($this->question->isDisableCorrect()); ?>>
                           <?php _e('Do not show correct and incorrect.', 'wp-pro-quiz'); ?>
                       </label>
   
                       <div style="padding-top: 20px;">
                           <a href="#" id="clickPointDia"><?php _e('Explanation of points calculation', 'wp-pro-quiz'); ?></a>
                           <?php $this->answerPointDia(); ?>
                       </div>
                   </div>
               </div>
   
               <?php
       ```
   
 * [https://wordpress.org/plugins/wp-pro-quiz/](https://wordpress.org/plugins/wp-pro-quiz/)

The topic ‘Fixed "Single choice options"’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-pro-quiz_2e3c46.svg)
 * [Wp-Pro-Quiz](https://wordpress.org/plugins/wp-pro-quiz/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pro-quiz/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pro-quiz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pro-quiz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pro-quiz/reviews/)

## Tags

 * [fixed](https://wordpress.org/support/topic-tag/fixed/)

 * 0 replies
 * 1 participant
 * Last reply from: [manger25](https://wordpress.org/support/users/manger25/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/fixed-single-choice-options/)
 * Status: not resolved