Default values for hidden form fields

#1

Currently any fields that are hidden on a form will be empty when the form is submitted. It would be nice to be able to set hidden form fields to a default value.

For example, let’s say I have a “wizards” table:
Name | House | Level
Harry P | Gryffindor | 1
Ron W | Gryffindor | 1

And I have a wizard form that asks for Name and House, but Level is hidden.

I would like all form submissions to automatically enter 1 for the level. I do NOT want this field shown or to use the prefill_ method because that would let people set their own level—and we all know that Malfoy kid would set it to 5 or something inappropriate.

At the moment, the only way I can do this is to use an external form system and an integration like Zapier which lets me set the default when mapping to Airtable.

2 Likes