All Collections
Advanced Form for Airtable
Standard Options
How to set a default value for a field?
How to set a default value for a field?

I want the dropdown to always be auto-populated with a certain option. Preselected without putting the data as a URL parameter.

Updated over a week ago

This is a standard option in editable fields (all types but computed and attachment). You can automatically fill a field with a specific value every time the form is loaded. To find this option go to:

  1. Open the field settings

  2. Standard options

  3. Default value

Creating vs editing records

This default value feature is commonly used when creating records. But this function applies when creating OR editing records. However, the default values will only be auto-filled if the field is empty. It will not override an existing value. It only works when a field has no value.

Default value vs prefill via URL

This feature works similarly to the prefill via URL function. It could be used as an easier alternative and a simpler way to achieve the same result. But there are some differences:

  • Hidden fields can still be edited when prefilled because URLs are manipulatable. Setting a default value prevents the end-user from changing it.

  • Default values also allow prefilling nested forms.

  • Prefilling via URL can override an existing value.

Related

Did this answer your question?