Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple choices when using checkbox type #61

Open
killianrochet opened this issue Nov 22, 2022 · 3 comments
Open

Multiple choices when using checkbox type #61

killianrochet opened this issue Nov 22, 2022 · 3 comments
Milestone

Comments

@killianrochet
Copy link
Collaborator

We have seen that there is a problem when we use the checkbox format on Elab. The checkbox type does not allow multiple choices to be selected using the options attribute.

    "Subject behaviour (post-trial)": {
      "type": "checkbox",
      "value": "",
      "options": [
        "Agitated",
        "Resting",
        "Sleeping",
        "Sparse trials"
      ],
      "position": 21
    },

The idea would be to create several checkboxes for each choice in the list of options I think

@JuliaSprenger
Copy link
Collaborator

To be more precise: A checkbox field in ElabFTW does only permit a single checkbox, not multiple ones like in RedCap.

@killianrochet
Copy link
Collaborator Author

Update : Nicolas has allowed the addition of the multiselect which replaces the checkbox system that was on RedCap. The goal is to adapt this and make the necessary changes.

Issue : https://github.com/INT-NIT/DigLabTools/compare/main...killianrochet:ELAB/MultipleSelectAdd?expand=1

@JuliaSprenger
Copy link
Collaborator

By merging #63 it is possible to select multiple choices from a dropdown menu, however this is still not as user friendly as the multiple-checkbox implementation in RedCap. Let's keep this issue open and continue pushing Elab towards a more user-friendly implementation. @killianrochet Do you agree?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants