Welcome, Guest
Username: Password: Remember me

TOPIC: Behaviour of the 'other' box

Behaviour of the 'other' box 2 years 4 months ago #81727

  • RBornat
  • RBornat's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
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?
The administrator has disabled public write access.

Re: Behaviour of the 'other' box 2 years 4 months ago #81729

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
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.
The administrator has disabled public write access.

Re: Behaviour of the 'other' box 2 years 4 months ago #81730

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
That bug is fixed.
The administrator has disabled public write access.

Re: Behaviour of the 'other' box 2 years 4 months ago #81739

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5351
  • Thank you received: 299
  • Karma: 250
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Behaviour of the 'other' box 2 years 4 months ago #81760

  • RBornat
  • RBornat's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 15
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Behaviour of the 'other' box 2 years 4 months ago #81818

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5351
  • Thank you received: 299
  • Karma: 250
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)limesurvey.org'"
The administrator has disabled public write access.
Time to create page: 0.110 seconds
Donation Image