All guides

Vercel

Publish a form on Vercel using the same endpoint from preview to production.

Edit the route in your project

Locate the source for the page visitors use. For plain HTML edit that file directly. For Next.js, place the equivalent JSX in the page component. Your existing Vercel build command and framework preset can stay in place.

Point the form at Wiztrom

In Wiztrom, open Forms and choose Setup for the destination form. Replace YOUR_FORM_ID with its ID. The example uses the Contact template. For a different template, use its exported field names and include every required field.

HTML
<form action="https://forms.wiztrom.com/f/YOUR_FORM_ID" method="post">
  <label>Name <input name="name" required /></label>
  <label>Email <input name="email" type="email" required /></label>
  <label>Message <textarea name="message" required></textarea></label>
  <button type="submit">Send message</button>
</form>

Test a preview deployment

Push your branch to the connected Git repository and open the generated Vercel Preview URL. In the browser Network panel, confirm the POST goes to forms.wiztrom.com. An absolute action also works from a nested page such as /support/contact.

Release to the production domain

Merge the verified change to the configured production branch or promote your tested deployment following your existing Vercel workflow. Open the production domain to verify which version is serving.

Find the published submission

Open the published page as a visitor. Send a message with a distinctive subject or phrase. Open the same form in your Wiztrom inbox and match the phrase and sender. If you enabled a notification, open Deliveries and check its destination, time and status.

References