Skip to content
Type something to search...
Veltro Theme Documentation

Contact Forms & Integrations

The contact page entry is src/content/contact/<language>/-index.md. It controls office cards and the form schema rendered by ContactPageLayout.astro and ContactForm.astro.

Provider Configuration

[settings]
contactFormAction = "https://formsubmit.co/[email protected]"
contactFormProvider = "formsubmit.co"

The verified provider values used by the form are:

  • formsubmit.co
  • formspree
  • netlify

For Netlify, the component adds data-netlify="true" and submits to contactFormAction. Formsubmit and Formspree submissions are handled by the theme’s client script.

Form Fields

The form.inputs array supports text and email fields, textareas, select or searchable-select dropdowns, grouped radio fields, checkboxes, default values, validation requirements, and status notes.

form:
emailSubject: "New website submission"
inputs:
- label: "Email Address"
name: "Email Address"
type: "email"
required: true
halfWidth: true
- label: "How can we help you"
tag: "textarea"
name: "Message"
rows: "4"
required: true

Replace the demo action and complete a real submission test before launch.

Mailchimp

settings.subscription configures the Mailchimp form component, including enable, title, note, formAction, and mailchimpTagValue. The current global footer does not render SubscriptionForm.astro; add the component to a page or footer before expecting these settings to appear.