Free cookie consent management tool by TermsFeed Generator
All Products & Integrations

jalpi page builder docs

Forms

The Form widget: supported plugins, detection, listing and rendering.

Jalpi CoreDeveloper
2 min read Β· November 2026

Jalpi does not implement a form builder. The Form widget embeds a form from one of four supported plugins, and everything about it is a thin bridge.

Supported plugins#

KeyLabelPlugin file(s)
cf7Contact Form 7contact-form-7/wp-contact-form-7.php
forminatorForminatorforminator/forminator.php
wpformsWPFormswpforms-lite/wpforms.php or wpforms/wpforms.php
gravityformsGravity Formsgravityforms/gravityforms.php

An array value means β€œany of these is sufficient”, which is how the Lite and paid WPForms builds are both detected.

Flow#

  1. The editor calls GET /forms/plugins and gets the active plugins with their labels.
  2. Choosing one triggers GET /forms?plugin={key}, returning that plugin’s forms as { id, title } pairs.
  3. The node stores only { plugin, form_id }.
  4. Jalpi_Element_Form calls Jalpi_Forms::render( $plugin, $form_id ), which delegates to the plugin’s own shortcode or API.
The Form element on the canvas with the form plugin and form selector in the inspector
Figure: Jalpi Form widget showing interactive fields and post-submit workflow configuration.

Both REST routes require edit_posts.

Forms and caching#

Form plugins embed per-request nonces, and a cached nonce is a stale nonce. Jalpi_Renderer::maybe_render_content() therefore checks:

$has_forms = class_exists( 'Jalpi_Forms' ) && Jalpi_Forms::has_form_node( $page_data['sections'] );
$use_cache = ! $has_forms && ! $has_user_tags;

has_form_node() walks the tree recursively looking for a node of type form. A page containing one is never served from the render transient.

Important

  • The Form widget stores no field definitions, no submissions and no settings of its own. Everything β€” validation, storage, notifications, spam protection β€” belongs to the form plugin.