Skip to content

Allow changing answer types #352

Description

@jotoeri

Remains of #250, also requested by NC-Internal tests.

Activity

  1. added this to the 2.1 milestone on May 6, 2020
  2. ei8fdb commented on May 6, 2020

    @ei8fdb

    @jotoeri you mean something like:

    I had a a multiple choice question but want to change it to a radio button question - the answers would then be "redisplayed" as radio button answers?

    This would be nice, but (I think) difficult to achieve in all cases - I've not seen survey questonnaire apps doing this well.

  3. jotoeri commented on May 6, 2020

    @jotoeri
    MemberAuthor

    Yup, that's it in fact.
    As for our current question types & way of storing this shouldn't be too much of a problem. Maybe on further question-types we will need to restrict to change only between specific types. But we'll see, when this comes into case.

  4. ei8fdb commented on May 6, 2020

    @ei8fdb

    As for our current question types & way of storing this shouldn't be too much of a problem.

    Agreed. I do think it's worth trying to establish if there are any question types that can be mapped.

    So with some limited thought, I put this together:

    👍 Easy to map question types

    • multiple choice to radio button
    • multiple choice to single column grid
    • radio button to multiple choice
    • radio button to single column grid
    • long text to short text
    • short text to long text
    • single column grid to multiple choice
    • single column grid to radio button

    👎 difficult/not worth the effort to map

    I hope that makes sense - if not I can explain it.

  5. modified the milestones: 2.1, 2.2 on Jan 21, 2021
  6. modified the milestones: 2.2, 2.3 on Mar 10, 2021
  7. modified the milestones: 2.3, 2.4 on Jul 28, 2021
  8. susnux commented on Jan 31, 2023

    @susnux
    Collaborator

    How about "hiding" the old question and copying it while changing the type?
    So you can keep old submissions mapped to the hidden question, as they could potentially change their meaning based on the available answer type.

    Hiding could be as simple as having a flag deleted (or similar) or could be implemented as a foreign key to the superseding question, which would allow deleting the old question if the new one is deleted.

  9. jotoeri commented on Jan 31, 2023

    @jotoeri
    MemberAuthor

    Essentially we have that but don't use it, since deleted questions are not deleted, but are hidden by having order=0. However, we don't show this currently, since @jancborchardt said we should just show the results as the form looks currently, no matter if the submissions change. 🤷‍♂️

    For here, i would also some kind of mapping for which question-types can be changed so it is logically usable. So more avoiding the problem, than fixing bad results. - E.g. Multiselect can only change to Multiselect & Dropdown, Long/Short Text can change. More the kind of 'visual changes', that are allowed for changing the question-type, but not allowing to change arbitrarily. For bigger changes the user just needs to create a new question.

  10. modified the milestones: 3.1, 3.2 on Feb 20, 2023
  11. modified the milestones: 3.2, 3.3 on Mar 5, 2023
  12. modified the milestones: 3.3, 3.4 on May 22, 2023
  13. modified the milestones: 3.4, on Oct 13, 2023
  14. modified the milestones: , 4.0, 4.1 on Nov 27, 2023
  15. modified the milestones: 4.1, Maybe someday on Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions