tombroucke / sage-html-forms-submissions
Show HTML Forms submissions through a shortcode
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.0
README
This package adds some functionality to the HTML Forms plugin.
Installation
You can install this package with Composer:
composer require tombroucke/sage-html-forms-submissions
Shortcodes
Show list of submissions
[sage_html_forms_submissions slug="petition" fields="name:Name"]
(*) Only one is needed
Show submission count
[sage_html_forms_submissions_count slug="petition"]
Extra
Add a checkbox with a name of anonymous
to anonymize submissions
<div class="form-check mb-2"> <input class="form-check-input" type="checkbox" name="anonymous" value="true" id="anonymous"> <label class="form-check-label" for="anonymous"> I\'d rather not have my name published </label> </div>