Automattic / Automattic/jetpack

Form Block: Allow Setting Closure Time

Open
#14,390 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Forms [Focus] Blocks [Pri] Low Enhancement Good For Community
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Is your feature request related to a problem? Please describe.

There are many cases where people won't want the Form block to be available after a given date and time. For example: giveaways with a set closure time (my case), or feedback which is only relevant for a certain period.

It would be fantastic if it was possible to add a time which the Form would close at.

#### Describe the solution you'd like

Something like this added to the Form would be great.

Screenshot 2020-01-18 at 18 38 53

When the date and time has passed, the message set could be displayed with a separator around it.

Screenshot 2020-01-19 at 08 21 56

#### Describe alternatives you've considered

Currently, the only option is to manually delete the Form, which sometimes means being able to do that after you wish for it to be closed.

Contributor guide

Open the contributing guide

Research direction

The issue names the Form block but no files, tests, or entry points. Start by locating the Form block implementation and its existing settings and rendering tests; done means a configured date and time closes the form and displays the selected message after that point.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
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.