All guides

Bootstrap

Style the contact form with Bootstrap 5 controls and native field validation.

Copy your endpoint

Open your form in Wiztrom and copy its endpoint from Setup. Replace the example URL with that address. If you created your form from a template, use the field names and required fields from its Setup HTML.

Add the form to a Bootstrap page

Paste the markup on a page that loads your Bootstrap stylesheet. The form-control and button classes style the controls. Keep the required attributes and the submit button type.

HTML
<form action="https://forms.wiztrom.com/f/YOUR_FORM_ID" method="post">
  <label class="d-block mb-3">Name <input class="form-control" name="name" required /></label>
  <label class="d-block mb-3">Email <input class="form-control" name="email" type="email" required /></label>
  <label class="d-block mb-3">Message <textarea class="form-control" name="message" required></textarea></label>
  <button class="btn btn-primary" type="submit">Send message</button>
</form>

Verify validation on mobile

Try an invalid email and submit. The browser should focus the email control. If your app uses a custom validation script, check that it allows the valid form to submit.

Find the test in your inbox

On the published page, leave a required field empty and try Send. Fill it in, enter a distinctive test message and submit once. Open the form’s Wiztrom inbox and match the submitted values. If you enabled a notification, open delivery history and check its result.

References