Ask a long answer question with a maximum word count

Restrict a long answer input to a maximum number of words or characters.

When to use

Use this pattern when:

  • Collecting open-ended responses
  • You need to limit response length
  • Users benefit from seeing remaining word count

Considerations

  • Choose between word count or character count based on the use case
  • Provide clear guidance on expected response length
  • Show remaining count to help users gauge their response
View old example docs