Link Form to a CSV
A pull request for this has already been merged.
- #1758 by @Koc — merged
- 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.
- Select a CSV
- Open it in Forms
- Forms ask about delimiter
- 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
- If default use Longtext.
- 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
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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