nextcloud / nextcloud/forms

automatization for deleting answers after certain days

Open
#905 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
382
Forks
127
Avg merge
19h 31m
Merged PRs (30d)
75

Description

We are using Nextcloud Forms as a contact form to keep track which guest/worker/visitor comes to our facility.
We created an QR code and put them on a wall. People scan the code and they end up on the form. They are filling all answers (name, address, etc.)

By the rules of our government we have to keep these data for 14 days and then we have to erase them.

Right now we are deleting the answer sets by hand. that's not pratical.

Is there any chance to implement an auto deleting function or a script running once a day to delete answers older than a certain amount of days for a chosen form?

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

The issue names no files, tests, or entry points. Start by tracing how answer sets are stored and deleted, then locate the form settings and scheduled-task mechanisms. Done means a chosen form can remove answers older than a configured number of days automatically; verify deletion behavior and scheduled execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.