Documentation

Trinity Forms

Trinity Forms is a block-native WordPress form builder: you build forms with the block editor you already know, submissions are stored natively, and you can export them to CSV. This page covers how it works and the hooks available for extending it.

Building forms

Forms are composed from blocks in the WordPress editor rather than a separate drag-and-drop canvas, so fields, layout, and content live in the same editing surface as the rest of your site. Base-tier features include conditional logic, multi-step forms, and payments (Stripe and PayPal) — capabilities many builders reserve for paid add-ons.

Entry storage

Every submission is stored in Trinity Forms’ own tables and listed in the admin, where you can view, filter, and export entries to CSV out of the box. Because storage is native, there’s no separate add-on to install just to keep a record of what people submitted.

The submission lifecycle & hooks

Trinity Forms fires standard WordPress actions at each stage of a submission, so you can run custom code — send data elsewhere, add validation, notify a channel — without modifying the plugin:

do_action( 'trinity_forms_before_submit', ... );      // before a submission is processed
do_action( 'trinity_forms_validation_failed', ... );  // when validation rejects a submission
do_action( 'trinity_forms_entry_created', ... );      // after the entry row is stored
do_action( 'trinity_forms_entry_completed', ... );    // after processing finishes
do_action( 'trinity_forms_payment_succeeded', ... );  // after a payment clears

Example: forward completed entries to a webhook

add_action( 'trinity_forms_entry_completed', function ( $entry ) {
    wp_remote_post( 'https://example.com/hook', [
        'headers' => [ 'Content-Type' => 'application/json' ],
        'body'    => wp_json_encode( $entry ),
    ] );
}, 10, 1 );

Use trinity_forms_entry_created if you need to act the moment the row is stored (even if later steps fail), or trinity_forms_entry_completed to act only after the whole submission — including any payment — has finished.

Pairs well with EntryVault

Trinity Forms stores and exports entries on its own. If you run several form plugins and want all of their submissions in one Kanban CRM, EntryVault captures Trinity Forms alongside ten other builders.