Repository navigation
Your first form settings
Written against v0.1.0.
By the end of this page one form will show a custom confirmation message after a submission and will stop accepting entries after a set number.
It assumes the add-on is installed (see Installation (README)) on Statamic 6.35 or later, and that a form already exists.
In the Control Panel, open the form and then its settings screen. With the add-on installed and the control_panel switch on, the screen gains a Confirmations section and a Restrictions section beside Statamic's own.
In Confirmations, under Default Confirmation, set Confirmation Type to Show Message and write the text in Confirmation Message. Save the form.
Submit the form on the site. The visitor sees the message instead of Statamic's default response.
Note: the other confirmation types send the visitor to an external URL, to a page entry, or replace the form with a page entry's content. They are chosen in the same place.
In Restrictions, switch on Limit the Number of Entries, set Number of Entries Allowed, and choose a Type of Limit: Total Entries, Per Day, Per Week, Per Month or Per Year. Write the text visitors should see in Message to Display When the Entry Limit is Reached, then save.
Once the form has that many entries for the chosen period, a submission is refused and the visitor sees that message.
- Close a form on a date: schedule a form and show a closed message on the page.
- Restriction states: the states a restricted form can report.
Home | Getting started | Guides | Troubleshooting | Reference | README | Repository
Written against v0.1.0. Edit these pages in docs/wiki/ through a pull request; edits made in the wiki are overwritten by the next publish.
Getting started
Guides
Troubleshooting
Reference
Project