1. At a glance
| Area | What you get |
|---|---|
| Builder | Drag-and-drop canvas, field palette with search, a field inspector with General, Appearance, Advanced and Logic tabs, undo and redo, duplicate, field widths (full, half, third, quarter), keyboard shortcuts, live label editing, and a phone-friendly builder with slide-in drawers. |
| Fields | 36 field types in five groups: Standard, Advanced, Survey, Pricing and Layout. |
| Logic | Show or hide fields, pages and the submit button. Notifications, confirmations, add-ons and approval steps can be conditional too. All or any of up to unlimited rules, with 9 operators. |
| Multi-page | Page breaks, a progress bar or steps, page titles, Previous and Next buttons, and validation per page. |
| Calculations | Formula fields with + - * / % ^, comparisons, parentheses, min, max, round, ceil, floor, abs, sqrt, pow and if. The same result is shown live in the browser and recalculated safely on the server. |
| Pricing | Product (single, drop down, radio or user-defined price), quantity, options, shipping, coupons and a live total. |
| Uploads | Drag-and-drop dropzone, multiple files, file type and size limits, and protected storage with signed download links. |
| Signatures | Draw-to-sign pad that works with touch, pen or mouse, saved as an image. |
| Notifications | Unlimited emails per form, sent on 11 events, to fixed addresses, a field value or routing rules. Supports CC, BCC, Reply-To, file attachments, conditional logic, a branded HTML template and an email log. |
| Confirmations | Message, page or redirect (with query string). Conditional confirmations, keep the form visible, and merge tags. |
| Spam | Honeypot, time trap, signed tokens, Turnstile, reCAPTCHA v2 and v3, hCaptcha, math CAPTCHA, Akismet, rate limiting (per form and site-wide), one entry per IP, blocked IPs, emails and words, and disposable-email blocking. |
| Payments | PayMongo (cards, GCash, Maya, GrabPay, QR Ph, ShopeePay, online banking, BillEase), Stripe (one-time and subscriptions with free trials) and PayPal (one-time and subscriptions). Refunds can be sent from the entry screen, test and live modes are available, and webhooks are verified. |
| Add-ons | User registration, post creation, webhooks (Zapier, Make, n8n, CRMs), Sysgage Commerce cart, Sysgage Membership level, and the three payment gateways. |
| Approvals | Multi-step approval workflow with assignees by role, user, email or field. Approve or reject by email link or from the dashboard, with notes and a full audit trail. |
| Quizzes | Correct-answer or weighted scoring, pass marks or letter grades, answer review, instant feedback and shuffled questions. |
| Polls | Live results after voting, percentages or counts, and one vote per person. |
| Surveys | Rating, Likert scale, rank, Net Promoter Score and slider, with result charts. |
| Save and continue | Resume links by email, plus partial entries captured as the visitor types. |
| Restrictions | Entry limits per total, day, week, month or year; one entry per user; open and close dates; login required (by role); and members only. |
| Entries | List with search, filters, column picker, star, read and unread, spam and trash. Entry detail with notes, edit, print, resend notifications, payment and refund history, and the approval trail. CSV export. |
| Results | Charts for every choice, rating, survey, poll and quiz field, a date range filter and CSV download. |
| Styling | Six themes (including Dark), accent colour, corner radius, font size, field spacing, button style, max width and custom CSS, with a live preview on desktop and phone. |
| Templates | 15 ready-made forms you can customise. |
| Import/export | Forms as JSON (including from Gravity Forms), entries as CSV. |
| Developers | REST API with API keys, WP-CLI, 50 actions and filters, two blocks and three shortcodes. |
2. The form builder
The builder opens full-screen inside WordPress and has seven tabs: Fields, Settings, Notifications, Confirmations, Add-ons, Approvals and Style.
Fields tab
- Palette. All field types grouped into Standard, Advanced, Survey, Pricing and Layout, with a search box. Click a field to add it, or drag it to any position on the canvas.
- Canvas. A live preview of the form. Drag fields to reorder them. Each field has a floating toolbar to move it up or down, duplicate it, delete it, or change its width. Fields of different widths sit side by side.
- Inspector. Click a field to edit it. The inspector has four tabs:
- General: label, description, required, choices, sub-inputs, quiz answers, formula
- Appearance: placeholder, label placement, width, layout, CSS classes
- Advanced: admin label, default value, input mask, pre-fill by URL or shortcode, visibility, custom error message
- Logic: conditional logic
- Choices editor. Drag to reorder choices. Choices can be laid out vertically, horizontally, in two or three columns, or as buttons. Each choice can have a value, a price, a score, a correct answer and an image. Paste a list or pick from presets in bulk: countries, Philippine provinces, US states, months, days, ages, sizes, satisfaction, agreement and more. Press Enter to add a row.
- Formula editor. Insert fields and operators with chips. The formula is checked as you type.
- Merge tag picker. Wherever text can include entry data, a button inserts merge tags at the cursor.
Saving and editing
- Undo and redo with Ctrl+Z and Ctrl+Shift+Z.
- Save with Ctrl+S.
- The builder warns you before you leave with unsaved changes.
- On save, it flags setup problems, for example a CAPTCHA field whose keys aren't set, a logic rule that points to a deleted field, or a payment add-on whose gateway keys are empty.
On phones and tablets
- The palette and the inspector slide in as drawers.
- An Add field bar sits at the bottom of the screen.
- Inputs use 16 px text so iOS doesn't zoom in.
3. Field types
| Group | Fields |
|---|---|
| Standard (10) | Single line text, Paragraph text, Drop down, Multi select, Number, Checkboxes, Radio buttons, Hidden, Email, Phone |
| Advanced (12) | Name, Address, Website, Date, Time, File upload, Image choice, List, Consent, Signature, Password, CAPTCHA |
| Survey (5) | Rating, Likert scale, Rank, Net Promoter Score, Slider |
| Pricing (6) | Product, Quantity, Option, Shipping, Coupon, Total |
| Layout (3) | HTML / content, Section, Page break |
Highlights
- Name has prefix, first, middle, last and suffix parts. Address has street, street 2, city, state or province, ZIP and country, and the Philippine provinces and US states are built in. You can switch each part on or off and rename it.
- Email has an optional confirmation box. Disposable email addresses can be blocked site-wide.
- Phone offers international, US
(###) ###-####and Philippine mobile09## ### ####formats. - Date can be a date picker, a typed date or drop downs, in several formats, with minimum and maximum dates. Time comes in 12 or 24 hours.
- Number has a minimum, a maximum, a step, and
9,999.99,9.999,99or currency formatting. It can also work as a calculation. - Input masks for Philippine mobile, US phone, date, ZIP, SSN and TIN, or your own pattern.
- List lets visitors add rows, with one or more columns, and has minimum and maximum row counts.
- Image choice shows picture cards as single or multiple choice.
- Consent combines a checkbox with your terms text and records the agreement.
- Password has a strength meter with a minimum strength (none, weak, medium or strong) and a confirmation box. Passwords are never stored in entries.
- Rating uses stars or hearts, and Slider has a minimum, a maximum and a step.
- HTML lets you add your own content and merge tags. Section adds a heading and a divider.
- Every field has:
- a required setting
- a custom error message
- visibility (visible, hidden or admin-only)
- an admin label
- CSS classes
- conditional logic
4. Conditional logic
- Show or hide any field, section or page, or the submit button.
- Rules: is, is not, greater than, less than, contains, starts with, ends with, is empty and is not empty.
- Match all rules or any rule.
- Rules can point at sub-inputs, such as the first name or a country.
- Logic runs live in the browser and is checked again on the server:
- Hidden fields are never required.
- Hidden fields are not saved.
- Hidden fields are left out of notifications.
- Conditional logic is also available for:
- notifications: send this email only when a rule matches
- confirmations: show this message or redirect only when a rule matches
- add-ons: run the webhook, payment or registration only when a rule matches
- approval steps: run this step only when a rule matches
5. Multi-page forms
- Add Page break fields to split a form into pages.
- The progress indicator can be a bar, steps or none. You can name each page and add a completion text.
- Each page is validated before the visitor moves on, and errors are announced to screen readers.
- Previous and Next button labels can be set per page.
- A whole page can be shown or hidden by conditional logic.
- Works with save and continue and with partial entries.
6. Calculations and pricing
Calculations
- A Number field can run a formula. Field values are inserted as
{Field label:ID}. - Supported operators and functions:
+ - * / %,^for powers, and parentheses- comparisons
> < >= <= == != min,max,round(x, decimals),ceil,floor,abs,sqrt,powandif(condition, a, b)
- Results update live as the visitor types. The server recalculates them with a safe parser, never
eval. - Example: the Loan calculator template works out a monthly payment from the amount, rate and term.
Pricing fields
- Product can be a single product, a drop down, radio buttons, a user-defined price or a calculated price, with or without a quantity box.
- Option adds extras to a product, such as "+₱50 for gift wrap".
- Shipping can be a flat amount, a drop down or radio buttons.
- Coupon takes a percent or fixed discount. Each code can have a usage limit and start and end dates. Visitors apply it with an Apply button.
- Total updates live and is checked on the server before payment.
- Money uses your currency, symbol position, separators and decimals. The default is the Philippine peso.
7. File uploads and signatures
Uploads
- Visitors can drag and drop files or browse, and see a list of what they added with remove buttons.
- Fields can take single or multiple files, with a maximum number of files.
- Each field can limit allowed file types. A site-wide list of safe types and a maximum size apply too.
- Files are checked by extension and by their real file type. Dangerous types such as PHP, executables and SVG with scripts are always rejected.
- Files are stored in a protected folder (
uploads/sysgage-forms) with deny rules for Apache and IIS. They are served only through signed links. - Optionally, files are deleted when their entry is deleted.
- Files can be attached to notification emails.
- Files can be added to the media library through the post creation add-on.
Signatures
- A smooth draw-to-sign pad that works with a finger, a pen or a mouse, with a Clear button.
- The signature is stored as a PNG with the entry. It is shown in the entry view and can be printed.
8. Notifications
Sending
- Unlimited notifications per form, each with a name and an on/off switch.
- Events:
- form is submitted
- payment is completed, fails or is refunded
- subscription renews or is cancelled
- entry is approved or rejected
- progress is saved (the resume-link email)
- user account is created
- manual only (resend from the entry)
Recipients
- a fixed list of addresses
- the email typed into a form field
- routing rules, for example "if Department is Sales, send to sales@…"
- CC, BCC, a From name and address, and Reply-To (for example the visitor's email)
Content
- A subject and message with merge tags.
{all_fields}builds a clean table of the answers. - Optional file attachments from upload fields.
- Conditional logic per notification.
Delivery
- A branded HTML email template with your logo, colour and footer, or plain text.
- Email log in Tools → Logs, showing successes and failures with the reason.
- A test email button in Settings → Email.
9. Confirmations
- Three types:
- Message: shown in place of the form or above a fresh form
- Page: send the visitor to a page on your site
- Redirect: any URL, with a query string built from merge tags
- Conditional confirmations: the first one whose rules match is used. The default confirmation is the fallback.
- Keep the form visible: the message appears above a reset form, ideal for quick sign-ups.
- Quiz and poll results can be shown in the confirmation with merge tags.
- The theme can react to the
sgf:confirmationJavaScript event, for example to track conversions.
10. Spam and bot protection
Protection works in layers. Most spam is stopped silently by the first few, and real visitors never see anything.
| Layer | What it does |
|---|---|
| Honeypot | A hidden field that bots fill in. Its name changes per form and per site. |
| Time trap | Rejects forms submitted faster than a person could type. |
| Signed tokens | Each form carries a signed token, so bots can't post directly to your site. Tokens stay valid on cached pages. |
| CAPTCHA | Choose Cloudflare Turnstile, Google reCAPTCHA v2 (checkbox), Google reCAPTCHA v3 (invisible, with a minimum score), hCaptcha, or a simple math question that needs no account. |
| Akismet | Uses your Akismet key if the Akismet plugin is active. |
| Rate limits | Per form (for example 5 entries per IP per hour) and site-wide. |
| One entry per IP | Optional for each form. |
| Block lists | Blocked IP addresses and ranges, email addresses and domains, and words. |
| Disposable emails | Blocks throwaway email services. The list can be extended with a filter. |
You choose what happens to caught entries: save them in the Spam folder so you can review them, discard them silently, or show an error to the visitor.
11. Payments
| Gateway | One-time | Subscriptions | Methods | Refunds from the entry |
|---|---|---|---|---|
| PayMongo | Yes | No (one-time only) | Cards, GCash, Maya, GrabPay, QR Ph, ShopeePay, online banking (BPI, UnionBank), BillEase | Yes |
| Stripe | Yes | Yes (day, week, month or year, every N periods, free trial) | Cards, Apple Pay, Google Pay and the methods you turn on in Stripe Checkout | Yes |
| PayPal | Yes | Yes | PayPal, Pay Later, cards through PayPal | Yes |
How it works
- Visitors pay on the gateway's secure hosted checkout. Card details never touch your server.
- Test and live modes are a single switch in Settings → Payments, with separate keys for each. A Test payments badge shows in the admin while test mode is on.
- Webhooks are verified with each gateway's signature. The webhook URL is shown with a Copy button.
- Payment settings per form:
- charge the form total or a field amount
- add a description
- send the customer's email and name to the gateway
- choose the subscription interval and trial
- Wait for payment: you can delay "form is submitted" notifications, other add-ons and the approval workflow until payment is confirmed.
- Several gateways on one form: let the visitor choose with a "Pay with" field and conditional logic.
- Refunds: full or partial refunds from the entry screen. Several partial refunds can never add up to more than was paid, and refunds made in the gateway's dashboard are copied back to the entry.
- Subscriptions: renewals are recorded on the entry, and you can cancel them from the entry screen.
- Payments screen: every payment, refund and renewal, with revenue for the last 30 days, active subscriptions, search, and filters by gateway and status.
- Payment status on entries: pending, paid, active subscription, failed, refunded, cancelled or expired.
12. Add-ons
Add-ons run when an entry is saved, or after payment if you choose. You can add as many as you like to each form, each with its own conditional logic.
| Add-on | What it does |
|---|---|
| User registration | Creates or updates WordPress users. Map username, email, password, names, website and bio, choose the role, add user meta, require email activation, log the user in automatically, and pre-fill the form for logged-in users. |
| Post creation | Turns entries into posts, pages or any custom post type, including Sysgage Content Types. Set the title, content and excerpt with merge tags, the status and author, a featured image from an upload field, a gallery, taxonomy terms from a field, and custom fields. |
| Webhooks | Sends entries to any URL: Zapier, Make, n8n, a CRM, Slack and more. Choose GET, POST, PUT, PATCH or DELETE, and JSON or form encoding. Send all fields or map selected ones, including custom values with merge tags. Add custom headers and an optional HMAC signing secret. Requests can run in the background with automatic retries, and a log is kept. |
| Stripe, PayPal, PayMongo | Take payments. See section 11. |
| Sysgage Commerce | Adds store products to the cart, with quantities from form fields, and sends the visitor to the cart or checkout. |
| Sysgage Membership | Gives the submitter a membership level, for the level's default length or a set number of days, with an optional welcome email. It runs on submit, after payment or on approval. |
The add-on picker groups add-ons by category and shows which are ready to use. For example, it notes when Sysgage Commerce isn't active.
13. Approvals workflow
- Turn on approvals for any form and add steps, such as "Team lead", then "HR".
- Assignees for each step can be:
- users with a role
- chosen users
- email addresses
- an email typed in a field
- Policy: any one assignee can decide, or everyone must approve.
- Each step has instructions and its own email. Assignees get secure Approve and Reject links, so they don't need an account.
- Assignees can add notes with their decision.
- Conditional steps: a step runs only when its rules match, for example "only when the amount is over ₱50,000".
- The Approvals screen lists entries waiting on the current user. Administrators see everything.
- On the entry screen, a timeline shows each step, who decided, when, and their note.
- Notifications are sent on Entry is approved and Entry is rejected, for example to tell the employee. The
{approval_status}and{workflow_note}merge tags are available. - Example: the "Leave request with approval" template is ready to use.
14. Quizzes, polls and surveys
Quizzes
- Mark the correct answers, or give each answer a weighted score.
- Grading: pass or fail with a pass percentage, letter grades with your own bands, or none.
- Pass and fail messages, a score summary, and an answer review that shows correct and incorrect answers.
- Instant feedback per question, and shuffled questions.
- Merge tags:
{quiz_score},{quiz_total},{quiz_percent},{quiz_grade},{quiz_passfail},{quiz_passfail_message}and{quiz_answers}.
Polls
- Show live results after voting, as a bar chart with percentages and/or counts.
- Optionally allow one vote per person.
- Show results anywhere with the
shortcode or the Poll results block.
Surveys
- Rating, Likert scale (single or multiple rows), Rank (drag to order), Net Promoter Score and Slider.
- The Results screen calculates NPS (promoters, passives and detractors), Likert heat maps, average ratings and rank scores.
15. Save and continue, partial entries
Save and continue
- A Save and continue later link on every page.
- The visitor gets a resume link on screen and can email it to themselves.
- The link restores every answer, uploaded files and the current page.
- Drafts expire after a number of days you choose.
Partial entries
- Answers are captured in the background as the visitor fills the form.
- They appear in the Partial tab of Entries, so you can follow up on abandoned forms.
- When the form is finished, the partial entry becomes a normal entry, so nothing is duplicated.
- You can show an optional notice telling visitors their progress is saved.
16. Restrictions and scheduling
| Restriction | Options |
|---|---|
| Entry limit | A number of entries in total, per day, week, month or year, with a custom message. |
| Per-user limit | Allow logged-in users N entries, with a custom message. |
| Schedule | Open and close dates and times, with "not open yet" and "closed" messages. |
| Login required | Require login, optionally limited to some roles, with a message. |
| Members only | Limit the form to Sysgage Membership levels. |
| One per IP | Part of spam protection. |
17. Entries
Entries list
- Pick a form or view all forms.
- Tabs: All, Unread, Starred, Partial, Spam and Trash, each with counts.
- Search and filters: search all values, and filter by date range, payment status and approval status.
- Column picker: choose which fields to show for each form.
- Bulk actions: mark read or unread, star or unstar, spam or not spam, trash, restore, delete permanently and resend notifications.
- On phones, the list shows each entry as a compact card.
Entry detail
- All answers, laid out by section and page, with uploaded files and the signature.
- An order summary for pricing forms.
- A sidebar with the date, user, IP, page, browser, star, read and unread, spam and trash.
- Payment card with the payment history, refunds and subscription actions.
- Approval timeline with the Approve and Reject buttons.
- Notes and activity: private notes, optionally emailed to a colleague, and an automatic log of notifications, payments and status changes.
- Edit any answer. Changes are logged.
- Print view, Newer and Older navigation, and Resend notifications.
Dashboard
- Shows entries today and unread entries, a chart of entries and views, your forms, the latest entries, and a protection and setup checklist.
18. Results and reports
- Charts for every choice field: counts and percentages.
- Survey analytics: Net Promoter Score (promoters, passives and detractors), Likert heat map, average rating with a distribution, rank scores and slider averages.
- Quiz analytics: attempts, average, highest and lowest score, pass rate and the most common grade.
- Poll results with counts and percentages.
- Date range filter and CSV download of the results.
- The Forms list shows views, entries and the conversion rate of each form.
19. Styling
- Themes: Modern, Classic, Minimal (underline), Rounded, Dark, or Theme default (no styling, so your theme's look is used). Each form can use the site default or its own theme. You can also turn off plugin CSS completely.
- Per-form style: accent colour, corner radius, font size, field spacing, button style (solid, outline or pill), maximum width, submit button alignment (left, centre, right or full width) and custom CSS scoped to the form.
- A live preview in the Style tab, on desktop or phone, updates as you change settings.
- Forms are responsive and accessible:
- real labels and ARIA attributes
- visible focus states
- error summaries
- rank items that move with buttons as well as by dragging
- No jQuery is needed on the front end. Assets load only on pages that show a form.
20. Templates
There are 15 templates, each with sensible notifications and a confirmation message:
- Contact us
- Request a quote
- Appointment booking
- Support ticket (with routing to teams)
- Job application (multi-page, resume upload, experience list, signature)
- Event registration (paid tickets, add-ons, coupon, PayMongo)
- Order form (products, options, shipping, live total, Stripe)
- Donation (one-time or monthly)
- Customer satisfaction survey (rating, Likert, NPS, rank)
- Quick poll
- Knowledge quiz (graded, with answer review)
- User registration
- Newsletter sign-up
- Leave request with approval
- Loan calculator
You can also start from a blank form.
21. Import and export
- Forms: export one or many as JSON, then import on another site. Fields, settings, notifications, confirmations, add-ons and approvals are all included. Gateway keys are never exported.
- Gravity Forms import: import a Gravity Forms JSON export. Fields, choices, layout widths, conditional logic, notifications, confirmations and merge tags are converted.
- Entries: CSV export by form, with a column picker, status filter and date range. Cells that look like spreadsheet formulas are escaped so the file is safe to open.
- WP-CLI can export and import forms and entries. See section 25.
22. Sysgage Commerce and Sysgage Membership
- Sysgage Commerce:
- A form can add products to the store cart and send the visitor to checkout. This is useful for custom orders, configurators and quote-to-cart flows.
- Quantities can come from form fields.
- Sysgage Membership:
- A form can give a membership level when it is submitted, paid or approved.
- Forms can be limited to members.
- The User registration add-on and the Membership add-on work together: the form creates the account, then gives the level.
- The System status screen shows whether each plugin is active.
23. Embedding forms
- Block: Sysgage Form has form picker, title and description toggles, AJAX and theme options, and a live preview in the editor.
- Block: Poll results.
- Shortcodes:
0shows the number of entries.
- Pre-fill fields from the URL (
?plan=pro), fromfield_valuesor with a filter. - Preview: every form has a shareable preview link for logged-in editors.
- Caching: forms work with page caching, because form tokens stay valid on cached pages.
24. REST API
The namespace is sysgage-forms/v1. Requests can be authenticated in three ways:
- WordPress cookies with a nonce, for code running in the admin
- Application Passwords
- an API key created in Settings → REST API or with WP-CLI. Each key belongs to a user, has a description, and is read, write or read/write. It can be revoked at any time.
| Method | Route | Purpose |
|---|---|---|
| GET, POST | /forms | List or create forms |
| GET, PUT, DELETE | /forms/{id} | Read, update or delete a form |
| GET | /forms/{id}/entries | Entries of a form (paged, searchable) |
| GET | /entries | Entries across forms |
| GET, PUT, DELETE | /entries/{id} | Read, update or delete an entry |
| GET, POST | /entries/{id}/notes | Read or add notes |
| POST | /forms/{id}/submissions | Submit a form (validation, spam checks, notifications and add-ons all run) |
| GET | /forms/{id}/results | Aggregated results |
| GET | /forms/{id}/render | Rendered form HTML (for headless sites) |
| POST | /webhooks/{stripe,paypal,paymongo} | Gateway webhooks (signature verified) |
To authenticate with a key, send the consumer key and secret as HTTP Basic auth, or in the X-SGF-Key and X-SGF-Secret headers. The secret is stored hashed and shown only once. Read-only keys can't create, change or delete anything.
The submissions route is public, like a form on your site, so headless front ends can post to it. Validation, logic and spam rules still apply.
25. WP-CLI
wp sysgage-forms forms # list forms
wp sysgage-forms create list # list template keys
wp sysgage-forms create contact --title="Contact us"
wp sysgage-forms export 1 2 --file=forms.json # all forms when no ids are given
wp sysgage-forms import forms.json # Sysgage or Gravity Forms JSON
wp sysgage-forms entries 3 --status=active --limit=100 --format=csv > entries.csv
wp sysgage-forms cleanup # temp files, drafts, retention, trash and logs
wp sysgage-forms api-key admin --permissions=read --description="Zapier"
26. Developer hooks
Actions
sgf_loaded, sgf_form_saved, sgf_before_delete_form, sgf_entry_created, sgf_entry_updated, sgf_entry_status_changed, sgf_before_delete_entry, sgf_after_submission, sgf_partial_entry_saved, sgf_draft_saved, sgf_payment_completed, sgf_subscription_cancelled, sgf_user_registered, sgf_post_created, sgf_webhook_sent, sgf_workflow_step_started, sgf_workflow_decision, sgf_workflow_complete, sgf_cron_hourly, sgf_cron_daily, sgf_admin_assets.
Filters
sgf_form, sgf_field_types, sgf_render_field_{type}, sgf_field_validation, sgf_validation, sgf_field_value_{param}, sgf_field_value_from_request, sgf_initial_values, sgf_entry_values, sgf_field_display, sgf_total, sgf_confirmation, sgf_confirmation_html, sgf_spam_reason, sgf_disposable_domains, sgf_trust_proxy_headers, sgf_webhook_payload, sgf_post_creation_args, sgf_workflow_assignees, sgf_stripe_checkout_params, sgf_paymongo_checkout_attributes, sgf_feed_handlers, sgf_export_columns, sgf_export_cell, sgf_results_types, sgf_field_stats, sgf_template, sgf_sanitize_form, sgf_form_unavailable, sgf_builder_data.
JavaScript event
sgf:confirmation fires on the form wrapper after a successful AJAX submission. event.detail.keepForm is true when the form stays on the page.
Example: add a custom spam rule.
add_filter( 'sgf_spam_reason', function ( $reason, $form, $values ) {
if ( ! $reason && false !== stripos( implode( ' ', array_map( 'strval', $values ) ), 'crypto' ) ) {
return 'Blocked word: crypto';
}
return $reason;
}, 10, 3 );
27. Merge tags
| Tag | Value |
|---|---|
{Label:ID}, {Label:ID.first} | A field's value or a part of it (name, address) |
{all_fields} | All answers as a table |
{pricing_fields} | The order summary |
{form_title}, {form_id}, {entry_id}, {entry_url} | Form and entry |
{date_created}, {date_mdy}, {date_dmy} | Dates |
{ip}, {user_agent}, {embed_url} | Visitor details |
{site_name}, {site_url}, {admin_email} | Site |
{user:display_name}, {user:user_email}, {user:first_name}, {user:last_name}, {user:user_login}, {user:ID} | The logged-in user |
{payment_status}, {payment_amount}, {transaction_id}, {payment_link} | Payment |
{quiz_score}, {quiz_total}, {quiz_percent}, {quiz_grade}, {quiz_passfail}, {quiz_passfail_message}, {quiz_answers} | Quiz |
{poll_results} | Poll results chart |
{resume_link} | Save and continue link |
{approval_status}, {workflow_note} | Approvals |
Field values are escaped for HTML emails. Tags work in notifications, confirmations, defaults, HTML fields, redirect query strings, webhook values and post creation.
28. Roles and permissions
Administrators get every capability. You can give any role these capabilities in Settings → Permissions:
| Capability | Allows |
|---|---|
sgf_manage_forms | Create and edit forms |
sgf_view_entries | View entries |
sgf_edit_entries | Edit entries and add notes |
sgf_delete_entries | Delete entries |
sgf_export | Import and export |
sgf_view_results | View results and reports |
sgf_manage_payments | Manage payments and refunds |
sgf_approve | Approve workflow steps for any entry |
sgf_manage_settings | Manage plugin settings |
Approval assignees can act on their own steps without any of these.
29. Security
- Every admin action and AJAX call is protected by a nonce and a capability check. All input is sanitised and all output escaped.
- Front-end submissions are protected by signed tokens, server-side validation, logic and recalculated totals. Visitors can't change prices or skip required fields.
- Uploads are checked by extension and real file type. They are stored outside public listing, and served only through signed links.
- Gateway keys are masked in the admin, never exported, and never sent to the browser except the publishable key.
- Webhooks are verified with the Stripe, PayPal and PayMongo signatures.
- API keys are stored hashed, with a read or read/write scope.
- CSV exports escape formula-like cells.
- Approval links are signed and stop working once the step has been decided.
- The plugin follows the WordPress coding standards.
30. Privacy and data retention
- Connects to the WordPress personal data export and erase tools, matching entries by email address.
- Adds privacy policy text you can copy.
- Per-form choices:
- store entries or don't
- store the IP address or don't
- delete files with their entry
- a retention period in days
- Site-wide settings:
- store the IP and user agent
- a retention period, after which old entries move to the trash or are deleted permanently
- how long partial entries, saved drafts and trashed entries are kept
- A daily clean-up applies these rules.
- Uninstall: keeps your data by default. Switch on "Delete all forms, entries, files and settings when the plugin is deleted" to remove tables, settings, capabilities and files.
31. Admin experience
- A modern, consistent design that is scoped to the plugin's own screens, so the rest of WordPress isn't affected.
- Screens: Dashboard, Forms, New form (template gallery), Entries, Approvals, Payments, Results, Import / Export, Settings and Help.
- Forms list:
- an active switch per form
- shortcode chips you can copy
- entry and view counts with the conversion rate
- duplicate, preview, trash and restore
- search and sorting
- A Dashboard widget and an admin toolbar menu, both optional.
- Every screen works on phones: tables become cards, and the builder uses drawers.
- Help page with quick-start steps and links to these docs.
- System status with a copyable support report.
- Logs of emails, webhooks, payments and errors, searchable and filterable.
32. Settings reference
| Tab | Settings |
|---|---|
| General | Load plugin styles, default form theme, default accent colour, currency, symbol position, decimals, thousands and decimal separators, date format, dashboard widget, toolbar menu |
| Spam protection | Honeypot and time trap defaults, CAPTCHA keys (Turnstile, reCAPTCHA v2 and v3, hCaptcha), Akismet, disposable emails, blocked IPs, emails and words, site-wide rate limit, what to do with spam |
| From name and address, template (branded or plain), logo, colour, footer, email log, test email | |
| Payments | Test or live mode, PayMongo, Stripe and PayPal keys for test and live, webhook URLs, default PayMongo methods |
| Uploads | Maximum file size, allowed file types, protected folder check |
| Data and privacy | Store IP and user agent, retention, partial, draft and trash periods, delete on uninstall |
| REST API | Enable or disable the API, manage API keys |
| Permissions | Capabilities per role |
33. FAQ and known limitations
Does it replace Gravity Forms? Yes, for the features listed above, and you can import your Gravity Forms JSON exports. Gravity Forms add-ons that are not listed here, such as specific CRM integrations, can usually be replaced with the Webhooks add-on and Zapier, Make or n8n.
Can PayMongo take subscriptions? Not in forms. PayMongo payments in forms are one-time only. Use Stripe or PayPal for subscriptions, or Sysgage Membership or Sysgage Commerce for recurring PayMongo billing.
Can I attach a PDF of the entry to emails? Not in 1.0. Notifications can attach the uploaded files, and the entry has a print view that can be saved as PDF from the browser.
Do forms work with caching plugins? Yes. Form tokens stay valid on cached pages, and the time trap and other checks still run on submit.
Is it multisite compatible? Yes. Each site has its own forms, entries and settings, and uninstall cleans up every site.
