Edit Schema: Contact Us

Component Info

Form settings

When set, this component is rendered as a form. On submit, field values are sent as JSON to the API route.

Fields

10 fields
1
Section Title(title)
text
2
Section Subtitle(subtitle)
textarea
3
Contact Email(email)
text
4
Phone Number(phone)
text
5
Address(address)
textarea
6
Form Heading(form_title)
text
7
Submit Button Label(submit_label)
text
8
Success Message(success_message)
text
9
Show Map(show_map)
boolean
10
Google Maps Embed URL(map_url)
url

Changing the schema regenerates the component file

Existing content data is preserved for unchanged fields. New fields will be initialized with default values.

Saves to cms-data/schemas/ and regenerates generated-components/default-contact.tsx