Welcome, Guest
Username: Password: Remember me

TOPIC: Disable selecting radio buttons with numbers?

Disable selecting radio buttons with numbers? 9 months 1 week ago #101822

Is there a way to disable the selection of radio buttons when numbers are pressed? Make a radio list with comment question with X answer codes, when you type a number between 1 and X into the comment it will select that radio button. Assuming group-by-group, If you add a second list question then the numbers will continue from X+1 even if the codes themselves start at 1, A, X, etc.

e.g. if Q1 in the group has three answer codes (1,2,3 or A,B,C or X,Y,Z, etc.) and Q2 has two codes (1,2 or A,B, etc.) if you press 4 it will select the first code of Q2 because it simply the fourth button on the page.

Is there a way to turn this behavior off? Does it store whatever option is selected when the next button is clicked? I cannot use others because I have to capture the code, there are multiples. Even doing a workaround with list + comments doesn't work because if you type any number between 1 and X in the comment it will automatically select that list element.
Last Edit: 9 months 1 week ago by nonlinear314.
The administrator has disabled public write access.

Disable selecting radio buttons with numbers? 9 months 1 week ago #101823

I attached a group example with the behavior I am talking about. Pressing 1 through 7 will select the radio buttons even if you are typing in the comment or open end. This is very annoying for interviewers if the respondent gives dollar amounts, numbers, etc. that can trigger the radio buttons.

Like one question has multiple others that ask "How many?" to about half the items on a list. I used a list + comment workaround to hide the unneeded comments but if you type in any number that corresponds to an answer code then the answer itself changes, e.g. if the third code in a list + comment question gets asked a "how many?" other comment then if you type 1 in the box it will select the first code.

Our clients prefer that the interviewer ask "how many?" right away and record it instead of selecting them and then going through each one and saying, Now how many of X did you get? And now how many of Y? How many of Z? etc.
Attachments:
Last Edit: 9 months 1 week ago by nonlinear314.
The administrator has disabled public write access.

Disable selecting radio buttons with numbers? 9 months 1 week ago #101827

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4139
  • Thank you received: 767
  • Karma: 348
Testing that group in IE10 and Firefox results in normal behaviour - entering numbers does not select radio buttons.

What template and browser are you using?
Cheers,
Tony Partner

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

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Disable selecting radio buttons with numbers? 9 months 1 week ago #101829

I see. I just tried a number of templates, when I use the "default" template then everything is okay but when I switch it to "basic" or "limespired" then I get the strange radio button behavior.

I guess I'll have to dig into the templates and see what is different about them. I have to use a certain template so I will need to modify it to match the behavior of the ones I want.
The administrator has disabled public write access.

Disable selecting radio buttons with numbers? 9 months 1 week ago #101830

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4139
  • Thank you received: 767
  • Karma: 348
I can't make it happen in the basic or limespire templates either. Let us know if you figure it out.
Cheers,
Tony Partner

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

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.134 seconds
Donation Image