Skip to content

FleetQ/website-plugin-forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

FleetQ Website Plugin — Forms

Form blocks for the FleetQ Website Builder. Provides a Contact Form and a Newsletter Signup block, both wired to FleetQ Signal ingestion via data-fleetq-form.

Installation

composer require fleetq/website-plugin-forms

The service provider is auto-discovered via Laravel's package auto-discovery.

Blocks

Block ID Label Description
fleetq-contact-form Contact Form Name + Email + Message fields, submits to the contact form signal
fleetq-newsletter Newsletter Signup Single email field, submits to the newsletter form signal

How it works

Each form carries a data-fleetq-form="{formId}" attribute. The fleetq-site.js script injected by the Website Builder intercepts the submit event and POSTs the form data to /api/public/sites/{slug}/forms/{formId}, which creates a Signal in FleetQ for downstream automation.

Requirements

  • PHP ^8.2
  • FleetQ >= 1.3.0

About

Form blocks for the FleetQ Website Builder — Signal-connected Contact and Newsletter forms

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages