Skip to main content
How to disable the form conditionally

I want to prevent the user from accessing the form if they've already submitted it before or a specific date has passed.

Updated over a month ago

You can set conditions on what records are accessible based on certain values in Airtable. For example, ensuring that users can only edit their records once or users can't edit the form when it expires. You can come up with your own rules that will disable the form when these conditions are not met. There are a few options to achieve this, depending on your use case.

1. Prevent re-login after user submission

If the login page option is enabled, lock the form so they can't access it again.

  1. Form Settings

  2. Table & Login section

  3. Turn on Only allow users to login if conditions are met and set the conditions*

  4. Submission Actions section

  5. Turn OFF Keep users logged in after form submission

*Note: The condition should not be based on a linked record getting created. Follow this link to learn why.

2. Prevent loading the form

In this option, the user won't be able to open the form and it'll be completely blocked.

Option A: Only allow viewing existing records

  1. Form Settings

  2. Disable Form section

  3. Turn on Allow users to view existing records toggle

  4. Turn on Only allow users to view existing records if conditions are met toggle

  5. Add Condition(s)

Option B: Lock the form after submission

  1. Form Settings

  2. Disable Form section

  3. Turn on Allow users to view existing records toggle.

  4. Turn on Enable the ability to lock the form after submission toggle.

  5. Select a checkbox field for Field used for locking

The check box field will be checked after form submission so when the users try to reload the form, it will not be accessible.

💡 Note: this option will not be available if Allow users to submit another form or Allow users to copy submitted record to a new form are enabled

Option C: Disable the form at a scheduled date

  1. Form Settings

  2. Disable Form section

  3. Turn on Disable form at scheduled date toggle

  4. Set a date and time in Date at which the form will be disabled

  5. Optionally, you can add a message for your users once the form is disabled.

💡 Note: you can configure the timezone using the selector on the right side of the date.

3. Prevent saving the form

This option allows users to access the editing form but restricts submitting the form.

  1. Form Settings

  2. Disable Form section

  3. Turn on Enable saving records if conditions are met toggle

  4. Add Condition(s)

You can set a custom message if the condition is not met.

Did this answer your question?