All guides

GitBook

Give documentation readers a working feedback link from a GitBook page.

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.

Publish a contact page on your site

Put this form on a public HTTPS page you control, such as /docs-feedback. Open that page and confirm the form is visible. The Wiztrom endpoint accepts POST requests and belongs in the action.

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>

Link to the page in GitBook

Edit a GitBook page, select the words “Send documentation feedback” and add a link to the published form page. GitBook embeds use supported Iframely providers. A normal link works for a custom site without provider support.

Publish the documentation change

Follow the link from the public GitBook site and submit from the form page. If readers see a method error immediately on clicking, the link points to the POST endpoint. Replace it with the page URL.

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