PDF Editing Issues

How to Set a PDF Number Field From 0 to 100 With Two Decimals

Anum MushtaqAnum Mushtaq Nov 3, 2026 869 views

Question details

The user needs to configure a PDF form field to restrict inputs to a range of 0 to 100, display exactly two decimal places, and prevent the value from being multiplied by 100 or displaying a percent symbol.

How to Set a PDF Number Field From 0 to 100 With Two Decimal Places
Product
PDF Form
Device & OS
not provided
Scenario
Creating or editing an interactive PDF form that requires strict numerical input validation for a specific value range.
Observed behavior
The form field must securely accept standard decimal numbers between 0.00 and 100.00. Using the Percentage format inadvertently scales the user's input by multiplying it by 100 and appending a percent sign, which is not the desired behavior.
Before you start

Ensure you have a PDF editor with advanced form creation capabilities opened and that you are in 'Form Editing' or 'Prepare Form' mode to access field properties.

Solution 1Recommended

Configure the Number Format and Apply Range Validation

By setting the field to the 'Number' format rather than 'Percentage', you prevent unwanted mathematical scaling. You can then use the 'Validate' tab to enforce the 0 to 100 range.

Interactive PDF forms allow you to assign specific data types to text fields. For decimal values that represent plain numbers (even if they conceptually represent a score out of 100), the 'Number' format must be used. The 'Percentage' format is designed to display a fractional value as a percentage, meaning an entry of '50' will be converted to '5000%'.

1
Access field properties

Right-click the target text field in your PDF form and select 'Properties' from the context menu.

2
Set the format to Number

Navigate to the 'Format' tab. In the 'Select format category' dropdown, choose 'Number'. Set the 'Decimal Places' dropdown to '2'.

3
Configure range validation

Switch to the 'Validate' tab. Select the option that says 'Field value is in range'. Enter '0' in the 'From' field and '100' in the 'To' field.

4
Save and test

Click 'Close' to apply the properties. Exit form editing mode and type a number into the field to ensure it restricts inputs outside the 0-100 range and formats valid inputs to two decimal places.

Configure the Number Format and Apply Range Validation
Best Practice: Avoid using the 'Percentage' category for this requirement entirely, as it will inherently scale the entered value and attach a percent sign regardless of range validation.
Powerful PDF Form Editor

Easily Create and Format PDF Forms with WPS Office

WPS Office offers a comprehensive set of PDF editing tools. You can easily insert interactive text fields, apply precise number formatting, and set custom validation ranges to ensure your forms function exactly as intended.

  1. 1. Open the PDF document: Launch WPS Office and open the PDF file you wish to convert into an interactive form.
  2. 2. Insert a text field: Navigate to the 'Form' tab on the top ribbon, select 'Text Field', and draw it onto your document.
  3. 3. Customize properties: Double-click the text field to open its properties, where you can easily apply the Number format, set decimal places, and establish input validation rules.
Easily design, edit, and fill interactive PDF formsFully compatible with standard PDF formats and Adobe Acrobat interactive elementsLightweight software with an intuitive, user-friendly interfaceAdvanced form properties including formatting, validation, and calculation
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PDF form field multiply the input by 100?

This happens when the form field's format is set to 'Percentage'. The PDF software assumes the user is entering a standard numerical fraction (where 1 equals 100%), so it multiplies the input by 100. Change the format category to 'Number' to resolve this.

Can I format a PDF form field to accept more than two decimal places?

Yes. Once you select 'Number' in the field's Format tab, you can use the 'Decimal Places' dropdown menu to select anywhere from 0 to several decimal places, depending on your needs.

What happens if a user enters a value outside the 0 to 100 range?

If you have set the range to 0-100 in the Validate tab, the PDF viewer will reject any input outside of this boundary. It will typically display a pop-up warning message informing the user that the value must be within the specified limits.