Skip to main content
How to prefill hidden fields?

Why the prefilled hidden field is not being saved. Safety comparison between prefilling on miniExtensions and Airtable.

Updated over 2 months ago

To hide a field, simply omit it from the form’s field list. Even when a field is removed from the form, it can still be prefilled.

Enable the ‘Allow prefilling hidden fields’ feature in the Prefill section of the form settings and use the URL parameter to prefill the hidden field.

💡 Tip: It’s recommended to test the field while it’s visible on the form to ensure it works correctly before hiding it.

Security Advantage over Airtable

To prefill and hide fields in Airtable, you need to use the hide_FieldName=true URL parameter alongside prefill_FieldName=value. This method has a security limitation: users can modify the URL to remove or alter the hide parameter, which can expose the content of hidden fields.

  • This is particularly risky if the hidden fields contain sensitive data, such as select or linked fields that might reveal valid options or information. In the image below, all the available options for the hidden prefilled field 'Prefield' are shown after changing the URL hidden parameter to false:

https://airtable.com/appJ5gX6lkLx4aQo6/pag8DTLzAypuXTXhm/form?hide_Prefield=false&prefill_Prefield=No 
CristianCG_1-1727881536091.png
Did this answer your question?