Behaviour of the 'other' box

More
5 years 2 months ago #81727 by RBornat
RBornat created the topic: Behaviour of the 'other' box
I've just constructed my first survey. On experimenting with it I found the most peculiar behaviour of the 'other' box in a multiple-choice question. I think it's partly intentional, so I think my request for an alternative behaviour is a sort of future-feature request. If I'm wrong, please forgive me (and move the thread to the right place ... :) )

If I click in the 'other' box I can type. The box has a white background and the text is black. All seems ok.

Then I noticed that the checkbox next to the 'other' text wasn't checked. I'd expected it would automatically be checked when I typed. Never mind: I checked it.

My text was obliterated! And the check-mark almost immediately disappeared. So I checked it again and aha! the box turns pink. I can type (and, I find, the answer is recorded in the results).

So I'd like a more user-friendly 'other' box. One which accepts text, automatically checks itself as soon as text is typed into it, doesn't delete anything when checked or unchecked, ... and I think that's it.

Or is there a compelling reason why this would be the wrong behaviour?

Please Log in to join the conversation.

More
5 years 2 months ago #81729 by TMSWhite
TMSWhite replied the topic: Behaviour of the 'other' box
There is a JavaScript onchange event that automatically checks the checkbox if you enter text in the other box. Sounds like you clicked on the checkbox without first pressing TAB or clicking on another input box. If so, as you clicked the checkbox, the onchange() function happened, which also checked the checkbox, so the browser thought you were unchecking an already checked box (which then calls another function to clear the contents of the other text entry field.

That's easily fixable - doing so now.

Please Log in to join the conversation.

More
5 years 2 months ago #81730 by TMSWhite
TMSWhite replied the topic: Behaviour of the 'other' box
That bug is fixed.

Please Log in to join the conversation.

More
5 years 2 months ago #81739 by Mazi
Mazi replied the topic: Behaviour of the 'other' box
Thanks for the fast fix, Tom!

Would be worth a donation :-)


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 2 months ago #81760 by RBornat
RBornat replied the topic: Behaviour of the 'other' box
I agree about the donation. Only a small one at the moment, because I'm a retired academic trying to work up a research proposal :) . But thanks anyway.

Please Log in to join the conversation.

More
5 years 2 months ago #81818 by Mazi
Mazi replied the topic: Behaviour of the 'other' box
Thanks for supporting Limesurvey!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now