Check out the LimeSurvey source code on GitHub!

Multiple option question and option "Other"

6 years 1 month ago #55482 by Menaregion

I am creating a survey with a series of multiple options questions and having option "Other" and questions are not mandatory.
When filling a survey some questions won`t let me proceed with option "Other" ticked and withouth any text in the box beside, for some of questions which are just the same and even copied I can tick other and proceed without comment in it.

So for some questions it is ok, but for other I am getting this error

You've marked the "other" field for question "xxxxyyyy?". Please also fill in the accompanying "other comment" field.

Is this a bug? or am I missing something?


Please Log in to join the conversation.

6 years 1 month ago #55494 by tpartner
No, the behaviour should be constistent - if the "Other" checkbox is selected the "Other" text input is manatory.

Have you upgraded to the latest stable version?

Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

6 years 3 weeks ago #55902 by shydoc
I'm setup a multiple option question that has mandatory 2 options that must be selected and an optional Other whose label I changed into "comments". I'm getting a php or apache error saying

( ! ) Notice: Undefined index: other_comment_mandatory in C:\wamp\www\limesurvey\qanda.php on line 3016
Call Stack
# Time Memory Function Location
1 0.0062 650944 {main}( ) ..\admin.php:0
2 0.2964 7503840 include( 'C:\wamp\www\limesurvey\admin\preview.php' ) ..\admin.php:267
3 0.3708 9669760 retrieveAnswers( ) ..\preview.php:55
4 0.4550 10156896 do_multiplechoice( ) ..\qanda.php:629

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form