Set default values on a public form
Prefill a field visitors can edit, set an automatic value on a hidden field, and verify both on a submitted record.
Use a public form’s defaults to start each response with the right values. For example, prefill Priority with Normal for visitors who can override it, and set a hidden Status to New so the team can find incoming requests.
Set visible and hidden defaults
- Open the editor for a new public form or an existing form link. Choose Fields & defaults.
- Find the field visitors should start with. Keep Visible on and set its Default value. The value appears when a visitor opens the form, and they can change it before submitting.
- Find the field Mainbase should fill automatically. Turn Visible off and set its Default value. Check for Applied automatically on that row. A hidden required field needs a valid default. For a checkbox, select No to save an unchecked value. Select No default to clear the setting.
- Open Live preview in Form mode. Check that the visible field starts with the chosen value and that the automatic field is hidden. Create the link or save your changes.
Verify the values in the destination table
Open the public link and submit a clearly labeled test response. Change the visible default before submitting to check that the visitor’s choice is saved. Open the new record and confirm the visitor’s choice and the automatic value.
If creating or updating the link is blocked, check that each hidden required field has a value valid for its field type. You can make a required field visible if visitors need to supply that value themselves.
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy 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?