nextcloud / nextcloud/forms

Link Form to a CSV

Open
#1,297 0 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #1758 by @Koc — merged
enhancement
Dominant language
JavaScript
Stars
382
Forks
127
Avg merge
19h 31m
Merged PRs (30d)
75

Description

Nextcloud (please complete the following information):

  • Nextcloud-Version: 24
  • Forms-Version: 2.5.1

Is your feature request related to a problem? Please describe.
Developing Question and Answers need some Datatranslation we usually use CSV.

Describe the solution you'd like
Link a Form bidirectional to a CSV which auto-create a form depending on the content of the CSV.
A CSV binding automatically limit the possibility of the Form depending of the limits of CSV. It should be possible to break a link to a CSV.

  1. Select a CSV
  2. Open it in Forms
  3. Forms ask about delimiter
  4. Forms ask if Questions are separated in the first line into several row or if Questions are per line
    "Question 1","Question 2","Question 3"
    or
Question 1
Question 2
Question 3
  1. If default use Longtext.
  2. If the first line contain a specific codetext e.g. checkbox the folowing rows could contains possible answers.
"checkbox","Question 1","Answer 1.0","Answer 1.1","etc."
"Dropdown","Question 2","Answer 2.0","Answer 2.1","etc."
Question 3
Question 4
  1. Don't hesistate to modify the CSV according the need of Forms.

Describe alternatives you've considered
Currently, we mostly work with Excel

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Review the merged pull request #1758 and its surrounding discussion first, then compare the existing work with the requested CSV selection, delimiter and layout handling, question-type mapping, bidirectional updates, and unlinking behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.