question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

special matrix dropdown with radiogroup columns

See original GitHub issue

Are you requesting a feature, reporting a bug or asking a question?

requesting a feature / asking question

What is the current behavior?

I am replacing an old lime survey configuration with surveyJs I have a matrixdropdown element, with 2 radiogroup columns

lets say for example that I have a radioGroup 1 that is a question like : “did it goes well ?” with choices : very bad, bad, well, very well and a radioGroup 2 with a question “was it long ?” with choices : short long, very long

I am displaying it like that (the “o”'s are the radio button) :


_______|___________"did it goes well ?"__________|_________"was it long ?"________|
part 1__|__o verybad_o bad_o well_o very well__|__o short_o long_o very long__|
part 2__|__o verybad_o bad_o well_o very well__|__o short_o long_o very long__|

What is the expected behavior?

I want it to be displayed the way matrix shows it, column headers being the choices, and column only radiobutton

_______|__very bad_|_bad_|_well_|_very well_||_short_|_long_| very long |
part_1__|______o_____|__o__|___o__|____o_____||___o___|___o__|_____o____| 
part_2__|______o_____|__o__|___o__|____o_____||___o___|___o__|_____o____| 

adding another header with the question will be better, something like :


_______|________"did it goes well ?"_________||_______"was it long ?"_____|
________|__very bad_|_bad_|_well_|_very well_||_short_|_long_| very long |
part_1__|______o_____|__o__|___o__|____o_____||___o___|___o__|_____o____| 
part_2__|______o_____|__o__|___o__|____o_____||___o___|___o__|_____o____| 

Provide the test code and the tested page URL (if applicable)

Tested page URL: https://plnkr.co/edit/DQPIllPZRSKza77GRJZj?p=preview

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
flowt-aucommented, Jan 3, 2019

+1 for the LimeSurvey style matrix radio groups. I used that question type a lot in the past. It would be great to be able to replicate that in SurveyJS (which, by the way, is much easier to work with than LS since it uses more a modern approach). LimeSurvey has been around for quite a while so SurveyJS could benefit from their experience about what has been needed by their users.

0reactions
MugiwaraNoMehdicommented, Jan 3, 2019

in limesurvey, if you add in matrix columns a textArea, the header of the column will be the textArea label, and the content of the column will be the textArea, same thing if you add input text or datepicker.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I change the value of matrixdynamic column based on ...
I have a matrixdynamic with certain columns. The matrix is a subquestion to another question (radiogroup). If the user selects a value for ......
Read more >
QuestionMatrixDropdownModel - SurveyJS
A class that describes the Multiple-Choice Matrix question type. Multiple-Choice Matrix allows you to use the Dropdown, Checkbox, Radiogroup, Text, ...
Read more >
RadioGroup with two columns which have ten RadioButtons
To select only one RadioButton in those RadioGroups the listeners above will be: private OnCheckedChangeListener listener1 = new ...
Read more >
Using the 'Matrix of Fields' Field-Type in REDCap
A matrix can have as many rows or columns as needed. Although the more choices you have, the narrower each choice column will...
Read more >
Radio Group | Retool Component Library
A group of radio buttons to select a single value. Radio Group can group radio buttons in one or more columns, or wrap...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found