Answers.Body: <p>There isn't a field type or plugin I know of that will let an admin choose only 1 correct answer.</p>
  
  <p>One possibility would be to number the correct answer in another field like piotrpog suggests. I would argue this is possibly more confusing and brittle since an admin could accidentally update the answer choices without updating the correct answer field. The two fields aren't linked automatically.</p>
  
  <p>I think it's pretty reasonable to ask admin's to only mark one choice as correct. You could also reinforce this in the field instructions. The lightswitch field makes it pretty easy to scan the column to make sure.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-21T19:14:13.603Z
Answers.Text: For now I'm going to stick with the lightswitch but don't think it's a perfect solution (and therefore am upvoting your answer but not marking it as 'correct'). I try to build the system so that it does not allow the users to make mistakes. I will keep thinking...Thank you for your help. Perhaps someone else will still come up with a great idea.
Answers.UserDisplayName: userAW
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-18T06:47:35.737Z
Answers.LastActivityDate: 2019-06-18T06:47:35.737Z
Answers.UserDisplayName: Alex Roper
Body: <p>I'd like to allow authors to add a multiple choice question to an entry. </p>
  
  <p>To build the possible answers, they will create answers and mark one as the correct answer. I could then output these as radio boxes on the frontend and allow website users to choose one and get 'marked'. </p>
  
  <p>Since there is only a single question (with multiple answers) per entry, I'd like to avoid using a form plugin (such as Sprout Forms, which may be able to support this). </p>
  
  <p>Anything I've tried did not have the ability to mark one and only one answer as Correct. I first built a table with 'Answer' (plain text) and 'Correct?' (lightswitch) fields in each row; this allowed choosing multiple answers as Correct. I then turned it into a SuperTable and made the 'Correct?' field radio buttons...but could not get all the rows in the table to be a single set of radio buttons such that you could only choose one. </p>
  
  <p><a href="https://i.sstatic.net/Lhbmx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Lhbmx.png" alt="enter image description here"></a></p>
  
  <p>Any ideas? Creative ways of building this differently are welcome. Thanks in advance. </p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-17T19:02:33.147Z
Comments.Text: Maybe add number field? Number put in this number field would be number of correct answer.
Comments.UserDisplayName: Piotr Pogorzelski
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-18T01:03:14.847Z
Comments.Text: Nice idea! Thanks.
Comments.UserDisplayName: userAW
Tags: <plugin-supertable><table>
Title: Allow Author to Build Multiple Choice Question?
ThreadText: # Allow Author to Build Multiple Choice Question?
  
  (Asked by: username_0 on 2019-06-17)
  
  I'd like to allow authors to add a multiple choice question to an entry.
  
  To build the possible answers, they will create answers and mark one as the correct answer. I could then output these as radio boxes on the frontend and allow website users to choose one and get 'marked'.
  
  Since there is only a single question (with multiple answers) per entry, I'd like to avoid using a form plugin (such as Sprout Forms, which may be able to support this).
  
  Anything I've tried did not have the ability to mark one and only one answer as Correct. I first built a table with 'Answer' (plain text) and 'Correct?' (lightswitch) fields in each row; this allowed choosing multiple answers as Correct. I then turned it into a SuperTable and made the 'Correct?' field radio buttons...but could not get all the rows in the table to be a single set of radio buttons such that you could only choose one.
  
  [![enter image description here](https://i.sstatic.net/Lhbmx.png)](https://i.sstatic.net/Lhbmx.png)
  
  Any ideas? Creative ways of building this differently are welcome. Thanks in advance.
  
  **Tags:** plugin-supertable, table
  
  > **Comments:**
  > **username_1**: Maybe add number field? Number put in this number field would be number of correct answer.  
  > **username_0**: Nice idea! Thanks.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-06-18. Score: 1
  
  There isn't a field type or plugin I know of that will let an admin choose only 1 correct answer.
  
  One possibility would be to number the correct answer in another field like piotrpog suggests. I would argue this is possibly more confusing and brittle since an admin could accidentally update the answer choices without updating the correct answer field. The two fields aren't linked automatically.
  
  I think it's pretty reasonable to ask admin's to only mark one choice as correct. You could also reinforce this in the field instructions. The lightswitch field makes it pretty easy to scan the column to make sure.
  
  > **Comments:**
  > **username_0**: For now I'm going to stick with the lightswitch but don't think it's a perfect solution (and therefore am upvoting your answer but not marking it as 'correct'). I try to build the system so that it does not allow the users to make mistakes. I will keep thinking...Thank you for your help. Perhaps someone else will still come up with a great idea.  
  
  ---
  
  