Add or remove percent formatting for a number in a text box or expression box

In Microsoft Office InfoPath, you can add data formatting to text box, expression box, and date picker controls on your form template to specify how dates, times, and numbers are displayed when users enter them into forms that are based on your form template.

You can format a text box control or expression box control so that numbers that users type into the box are displayed as percentages. This formatting affects both how values are displayed in a form and how values are saved. This means that any value that is typed into a control with percent formatting will be treated as a percent value.

Notes: 

  • InfoPath does not add percent symbols to numbers that are formatted as percentages. To add a percent symbol to a control's label, click where you want the percent symbol to appear, and then type %.

  • You can add percent formatting only to text box controls that have a decimal data type or to expression box controls that are formatted as a decimal.

  1. Double-click the text box control or expression box control whose data you want to format.

  2. In the Control Properties dialog box, do one of the following:

    • If you are using a text box control, click the Data tab.

    • If you are using an expression box control, click the General tab.

  3. Do one of the following:

    • For a text box, ensure that the Data type list displays the appropriate data type, and then click Format.

    • For an expression box, ensure that the Format as list displays the appropriate data type, and then click Format.

  4. In the Decimal Format dialog box, do one of the following:

    • To format the number as a percentage, click Percentage.

    • To remove percent formatting, click Number.

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×