Skip navigation
Currently Being Moderated


May 28, 2012 11:04 AM

Tags: #cpquizinfoanswerchoice

Why is cpQuizInfoAnswerChoice getting only up to 12 characters?


  • Currently Being Moderated
    Jun 6, 2012 9:44 AM   in reply to alex_tagoulis

    Any variable can have a specific 'length' and, indeed, it's a good idea for all variables to have some defined storage capacity.

    So it would seem cpQuizInfoAnswerChoice can hold up to 12 characters? Considering it's meant to just hold the selected choice, which would seem to most commonly be A, or B, etc...that doesn't seem unreasonable.


    So you have longer answers you want to store? What are you trying to acheive? Maybe there's a better or alternative approach...

    Mark as:
  • Currently Being Moderated
    Jun 18, 2012 8:17 AM   in reply to alex_tagoulis

    Sorry, but that is not correct: I used cpQuizInfoAnswerChoice even for answers to Short Answer questions. But I suspect that you tried to insert this variable in a text caption, and that you didn't change the default length which is 15 characters.


    I blogged about this variable recently:



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points