Open dates, close dates and entry limits
A form can open on a date, close on a date, and close once it has taken a set number of entries. Outside those limits visitors see your message instead of the form, and the server refuses any submission, including one sent from a page your cache saved while the form was still open.
When to use it
Section titled “When to use it”- Registrations and applications with a deadline, such as a grant round that closes on a date.
- Limited places, such as a workshop with 30 seats.
- A form you prepare now and open later.
How to set the limits
Section titled “How to set the limits”-
Go to Form Entries → Forms and click the form’s title.
-
In the form’s JSON, add an
availabilityblock insidesettings:"settings": {"availability": {"opens_at": "2027-03-01 09:00","closes_at": "2027-03-20","max_entries": 30,"closed_message": "Registration has closed."}} -
Click Save Form. A value the plugin cannot use is refused with a message naming the setting, and the form keeps its previous rules.
To remove the limits, delete the availability block and save. The form is
then always open.
Options
Section titled “Options”| Option | What it does | Default |
|---|---|---|
opens_at | The first moment the form accepts entries. | Open from the start |
closes_at | The first moment the form stops accepting entries. | Never closes by date |
max_entries | How many entries the form takes. 0 closes the form. | No limit |
closed_message | Shown after the close date, or once the limit is reached. | “This form is no longer accepting submissions.” |
before_open_message | Shown before the open date. | “This form opens on (date) at (time) (time zone).” |
Dates are in your site’s time zone (Settings → General), written as
YYYY-MM-DD or YYYY-MM-DD HH:MM. A date without a time opens at the start
of that day and closes at the end of it, so "closes_at": "2027-03-20"
still accepts entries on 20 March. The close must come after the open.
See where each form stands
Section titled “See where each form stands”The Status column on Form Entries → Forms shows whether each form is open, or closed and why, with its dates and, for a form with a limit, the places taken (“12 of 30 places taken”).
To correct the number, click Adjust count, enter the places taken, and click Save count. Reset to 0 starts the count again and asks you to confirm.
How entries are counted
Section titled “How entries are counted”The limit counts accepted submissions, not the rows on the Entries screen:
- Spam caught by the hidden spam trap never takes a place.
- Deleting entries, by hand or with a FlowMint retention workflow, does not give places back. Use Adjust count if you want them back.
- The limit works when the form does not store entries.
- A limit added to a form that already has entries starts from those entries, not counting spam.
- If you remove the limit and add it back later, the count carries on, including entries accepted in between.
- When two people send the last place at the same moment, only one gets it.
Limits and common problems
Section titled “Limits and common problems”A visitor still sees the form after it closed. Your page cache is serving an older copy. When they submit, the server refuses and the closed message replaces the form. Nothing is stored, emailed or sent to a webhook or workflow.
The AI connector removed my limits. An update that replaces the form’s
JSON without the availability block removes the rules. The count is kept,
so adding the block back resumes it. Ask the agent to send the whole block
with every update.
Test submissions use up places. A real formengine_test_submit counts
like any visitor. Ask the agent to use a dry run on a form with a limit. A
closed form refuses test submissions, dry runs included.
Nothing tells me when a form fills up. No email is sent. Developers can
listen for the pforms_form_full action, which fires once on the submission
that takes the last place. Nothing fires when a form closes by date. The
pforms_form_availability filter can open or close a form by your own rule.
A time is refused as not existing. The time falls in the hour your clocks skip when daylight saving starts. Pick a time outside it.
Available since Promptless Forms 1.13.0.