Choose which related records a public form offers

Let visitors pick from a list of related records or apply a fixed relationship behind the scenes.

Use a relationship field when responses should link to another record. For example, a repair form can let visitors choose from a list of public facilities, while assigning every request to the same intake queue automatically. Each relationship field can have its own settings.

Let visitors pick from a list

  1. Open the public form editor and go to Fields & defaults. Turn on Visible for the relationship field.
  2. Select Choose records visitors can select. Find and add a record, then repeat for each record you want to offer. Remove unwanted choices from the list beneath the field. People opening the form can see the names you include.
  3. If you want a choice selected when the form opens, set Default value to a record from that same list.
  4. In Live preview, open the field and check that every name belongs on the public form. Create the link or save the changes to the existing form.

If the form won’t save, check that every visible relationship field has at least one choice and that you have permission to share the records you configured. The form allows up to 100 configured relationship entries across all choices and defaults.

Apply a fixed relationship automatically

In Fields & defaults, turn off Visible for the relationship field and set its Default value to the record you want. The form applies that value on submission and leaves the field out of the visitor’s form. A hidden required field needs a default.

For a child-record intake form, the form already links each response to the parent it was created from. Use the choices and defaults above for other relationship fields.

Mainbase checks configured relationship records when the public form opens. If one becomes unavailable or its table is no longer an allowed target for the field, the public link may stop opening.

  1. Edit the original form link. In Fields & defaults, check both the visitor choices and the default for each relationship field, including hidden fields.
  2. Remove unavailable choices and clear or replace any affected defaults. If a visible relationship field still needs to appear, leave at least one valid choice. Replace an unavailable default on a hidden required relationship field.
  3. Save your changes and reopen the same URL as a visitor. Check the updated choices and confirm any hidden default on a test submission.

Collect files through a public 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?