Skip to content

Form Submissions

Phillip Dornauer edited this page Apr 1, 2026 · 1 revision

Contact Form Submissions

When a blueprint has Is Form enabled, the frontend shows a contact form and all submissions are stored in the database.

Viewing Submissions

Navigate to the item with the form blueprint (e.g. the "Contact" page) and click the Submissions tab.

You'll see a list of all submissions with submission date, read/unread status, and all submitted field values.

Marking as Read

Submissions start as unread. Click Mark as Read on the detail view. Unread submissions are highlighted in the list.

Deleting Submissions

Click Delete on the detail view to permanently remove a submission.

Email Notifications

Set Form Recipients on the blueprint to one or more email addresses (comma-separated). An email is sent to all recipients on each new submission.

Frontend Form Rendering

Use the built-in component in your Blade template:

<x-marble::marble-form :item="$item">
    <button type="submit">Send</button>
</x-marble::marble-form>

For a custom form layout:

<form method="POST" action="{{ route('marble.form.submit') }}">
    @csrf
    <input type="hidden" name="item_id" value="{{ $item->id }}">
    <input type="text" name="fields[name]" placeholder="Your Name" required>
    <input type="email" name="fields[email]" placeholder="Email" required>
    <textarea name="fields[message]" required></textarea>
    <button type="submit">Send</button>
</form>

Success Redirect

After a successful submission, Marble either shows the Form Success Message or redirects to the Form Success Item (a thank-you page).

Clone this wiki locally