You can use the function `statistic()`

to limit the number of respondents.

A simple solution could look like this (on page 1):

```
$n = statistic('count');
if ($n > 100) {
text('quotafull');
buttonHide();
pageStop();
}
```

For more elaborate examples, please see the manual Quota.