dash.contact
Contact form submission methods.
Updated
On this page
dash.contact
submit(data)
const { success, message, submission_id } = await dash.contact.submit({
name: "Jane Doe",
email: "jane@example.com",
content: "I have a question...",
phone: "555-0123", // optional
subject: "Question", // optional
source_url: window.location.href,
turnstile_token: "...", // optional captcha
})
See Contact Forms for full details and form examples.