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.
-
Double-click the text box control or expression box control whose data you want to format.
-
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.
-
-
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.
-
-
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.
-
No comments:
Post a Comment