add end date to petition
Overview
This proposed feature would add a new field to petitions called: End date. If someone tries to sign a petition that has an end date in the past, they would get a friendly error warning them that the petition is no longer active.
Current behaviour
Now, we can create petitions and manually disable them. However there are two problems:
- If you disable a petition it no longer shows up in advanced search so you can no longer find signatories.
- It's easy to forget to disable a petition. That means these potentially spam-collecting forms can live on for too long
Proposed behaviour
By adding an end date when you create the petition, you can set it up and forget about it.
Comments
I'm open to taking a crack at implementing, but wanted to first get feedback to see if this is the best way to go about it or if there are any potential pitfalls.