Give each prototype form button its own destination

Make a secondary submit button open a different screen in Design Showcase, and test both paths from the same prototype form.

Use separate destinations when you want reviewers to try two outcomes from one form. For example, let them preview a sample request or continue to a confirmation screen.

Set up the two destinations

Put the form in index.html and include preview.html and confirmation.html in the same folder. Use the form’s action for the default action and the data-showcase-target attribute on the button that needs a different destination.

<form action="confirmation.html">
  <label>Request name <input name="request"></label>
  <button type="submit">Continue</button>
  <button type="submit" data-showcase-target="preview.html">Preview</button>
</form>

Design Showcase checks the submit button’s destination first. If the button has none, it uses the form’s destination. Include a link to index.html on both destination pages so reviewers can return to the form.

Test both paths in the viewer

  1. Package all three pages and their assets in one ZIP. Open the design in your workspace and choose More → Upload new version. Open the new version when it’s ready.
  2. If comment mode is active, choose Exit comment mode. Enter a sample request and select Preview. Check that the preview page appears.
  3. Follow the link back to the form, enter a sample request again, and select Continue. Verify that the confirmation page opens. If both buttons take you to the same screen, check the data-showcase-target attribute on the intended button and verify the target filename and path in the ZIP.

Set a single destination for a prototype form

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?