# Passwords and close conditions

> Keep a form to the people you give a password to, and stop taking responses automatically on a date or after a number of responses.

Both settings are in the form's **Settings** tab. Unlike questions and design, they apply **right away**, without publishing.

## Password protection

Open **Settings → Password**, type a password and save. Anyone opening the form's link now sees "This form is password protected" and has to enter it before they can see a single question.

- Once someone has entered the password, their browser remembers it for this form for a week, so they aren't asked again on every visit.
- **Changing the password** signs everyone out: people who entered the old one have to enter the new one.
- **Remove password** opens the form to anyone with the link, right away.
- Password-protected forms are always hidden from search engines, whatever the [SEO settings](https://formhelix.com/docs/seo) say.
- [Hidden fields](https://formhelix.com/docs/hidden-fields) in the link survive the password page, and so do [embedded](https://formhelix.com/docs/embedding) forms: the password is asked for inside the frame.

FormHelix never stores the password itself, only a one-way hash of it, so nobody (including us) can look it up. If you forget it, set a new one.

> [!NOTE]
> A shared password keeps casual visitors out; it doesn't tell you who someone is. To know who answered, ask for their name or email in the form, or pass an id in a [hidden field](https://formhelix.com/docs/hidden-fields).

## Close conditions

Open **Settings → Close conditions** to stop taking responses automatically:

- **Close on a date**: pick a date and time. It's shown and entered in your own time zone, and applies at that moment wherever respondents are.
- **Close after a number of completed responses**: for example, the first 100 sign-ups. Only completed responses count, not people partway through.

You can set either, or both, in which case the form closes at whichever comes first.

Once a condition is met, anyone who opens the form sees that it's closed, including people partway through it. In the dashboard the form shows as **Closed**, with the reason, and the workspace's list of forms shows when each form closes.

To take responses again, change the date, raise the limit, or turn the condition off. Publishing doesn't clear a condition that has already been met.

> [!NOTE]
> If several people submit at the same instant as the limit is reached, a form can end up a response or two over it.

For closing a form by hand, see [Closing and reopening](https://formhelix.com/docs/publishing#closing-and-reopening).
