Limit a PDF form number to a range

By PDF Bop · Published

Open Prepare a form → Field Properties → Validate and enable a numeric range. Enter the smallest and largest answers you will accept.

Test inside and outside the range

  1. Choose the relevant field and set its formatting for the kind of number readers should enter.
  2. Under Validate, enable the value range and enter its limits. Tell readers the allowed range in the label or tooltip.
  3. Save, open the copy in the recipient’s PDF reader, and try an in-range value and an out-of-range one. Confirm the accepted answer survives a save.

For a workshop field allowing 1 to 25, our desktop test saved 18 and rejected 26. Compatibility with validation can vary by viewer. The person collecting the data should still check values against the required range.