-
Notifications
You must be signed in to change notification settings - Fork 225
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
RFC: Allow a form to be "closed" #1175
Comments
This is probably not the best place to discuss this, would suggest the forum. |
Thanks for replying.
Not really, in the case of an unpublished userform content block when the owner page/dataobject gets published it will be published again. Archiving the element has led to issues with submissions disappearing on restore (plus having to recover from archive). I'll investigate this with a module and see how it pans out. |
It's an RFC, just tag it as such. I think it's a reasonable idea @JamesDPC - it seems reasonable to me to keep all the content on a page available but remove the form (and prevent submissions if someone tries to e.g. manually POST to it). Anything else is just a usability hassle. In the very least adding hooks in the appropriate places (if they don't exist) so you can achieve this via a module that uses Extensions on a UserForm would (should) be a welcome change. That way you can create a module as a proof of concept, and the core folk don't have to support any new API. |
I didn't want to come across as completely dismissive, so apologies if that was the case. If there was a PR to look at adding this functionality we'd be happy to review it. If it wasn't possible within the module and extensions points were missing, also happy to enhance the current code to be able to support an external module if it was decided to go that way. I agree that unpublishing a single element and keeping it unpublished is a hassle when the whole page is published. |
I was chucking around the idea of having a module to allow closure of a form for submissions, but thought it would be more useful in the core module. The gist is that a site owner might want to keep a page holding a form published but without that form taking submissions.
Basically:
Is this something the maintainers would think a useful feature?
The text was updated successfully, but these errors were encountered: