In this article we will show you how to limit responses in google forms using multiple different methods. Simply follow the steps below.
At the top of Google Forms, click Settings.
You will get different settings to adjust the functionality of your form.
Screencap of this step
To access the responses settings, click the arrow on the right of the Responses label.
The responses settings will appear.
Screencap of this step:
The specific setting we need to modify is the Limit to 1 response setting. By default it is disabled. Click the toggle on its right.
After clicking it, its color should change from gray to purple (or the color of whatever theme you use in your Google account).
Screencap of this step:
All done! You have now set the form to receive one response per user.
There are three tabs at the top of the Google Forms: Questions, Responses, and Settings. Click the Responses tab.
You will see the list of responses and a few other settings for your Google Form.
Screencap of this step:
To manually limit the Google Form responses, click the toggle besides the Accepting responses label.
The label will change to Not accepting responses and a red-bordered box will appear, containing the message that will appear when someone tries accessing the form. You can change the message or leave it as is.
This is what appears to someone who tries accessing the form. Note that the link in the screenshot only appears if you can edit the form.
Screencap of this step
While there is no built-in function to close Google Forms when a certain number of respondents is reached, the solution can easily be implemented via Google Apps Script. Here are the steps:
Move your cursor to the upper-right corner of Google Forms, then click the three dots on the right of the Send button.
A drop-down box will appear. Select Script editor.
A new tab will appear containing the Google Apps Script.
Copy the script from the following link:
https://github.com/rvbautista/google-forms-respondents-counter-lock/blob/main/Code.gs
After copying the script, go back to Google Apps Script. Clear the placeholder code, then paste the code you copied from the link above.
The set maximum number of responses in the original code is 5. If you need a higher limit, change the number 5 in Line 3 to the limit you want to set:
let maximum = 5;
Let’s say you want to set the limit the number of responses to 100, then Line 3 should be:
let maximum = 100;
Screencap:
Don’t forget to save the project by clicking the Save project button above the code area.
You need to set the code to run whenever the form receives a response. To do so, hover the cursor to the left side, then click the Triggers.
The list of triggers will appear.
Screencap of the step:
Click Add Trigger on the lower-right corner of the Triggers page.
A large box listing the settings for the trigger will appear.
Keep most of the settings as is except for the Select event type. Click it, then select On form submit. Click Save afterwards.
A new window will appear after you click Save. It will first ask you to choose the account to run the script. Select the account that you use to create the Google Forms.
Afterwards, the permissions needed by the script will be listed. Click Allow.
The window will close, and the trigger will be listed.
The script will run as is, and it will automatically close once the set number of respondents has been reached.
Google Forms automatically set to Not accepting responses after 5 Responses are reached.
We hope you now have a better understanding of how to limit number of responses in Google Forms. If you enjoyed this article, you might also like our article on the optimal header size for Google Forms or our article on how to close a Google Form. We also suggest checking out our article on how to set up email notifications for Google Forms.