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

Deactivate Form manually #1101

Closed
dacoex opened this issue Jan 11, 2022 · 4 comments · Fixed by #1925
Closed

Deactivate Form manually #1101

dacoex opened this issue Jan 11, 2022 · 4 comments · Fixed by #1925
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request
Milestone

Comments

@dacoex
Copy link

dacoex commented Jan 11, 2022

It would be great to be able to deactivate a form (resp. submission to it) manually.

Original Request Currently, one has to delete a form in order to ensure no one enters further submissions into an existing form.

It would be great to be able to deactivate a form at certain conditions:

  1. Submission deadline reached (similar to expiry of a sharing link max. validity)
  2. Number of answers reached a certain threshold (e.g. registrations for a weekend excursion)
  3. Manual deactivation

Deactivation would have the the advantage that forms can be used for recurring occasions such as annual member meeting.

@jotoeri

This comment has been minimized.

@jotoeri jotoeri changed the title [Feature Request] Deactivate Form Deactivate Form manually Jan 11, 2022
@jotoeri jotoeri added 1. to develop Accepted and waiting to be taken care of enhancement New feature or request labels Jan 11, 2022
@jotoeri jotoeri added this to the 3.0 milestone Jan 11, 2022
@dacoex
Copy link
Author

dacoex commented Jan 11, 2022

thanks for the triage.

so manual deactivation is similar to setting expiration date to the next hour (as a work around).

@hamza221
Copy link
Contributor

hamza221 commented Mar 7, 2023

What would be a better approach to implement this?

  1. set expiration to now or a previous date when the form gets deactivated
  2. add a property to form "isOpen" and sync it with "expires" (when form expires or gets desactivated)

@jotoeri
Copy link
Member

jotoeri commented Mar 7, 2023

I'd go for a separate property isDisabled, but NOT syncing it. Disabling is then just evaluated first and thus overrides expiration. Can probably also have a separate EmptyContent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants