Applies ToInfoPath 2010 InfoPath 2013

You can remove the formatting from dates, times, and numbers only for date pickers, text boxes, and expression boxes that have a date, time, date and time, whole number, or decimal data type.

  1. Double-click the date picker, text box, or expression box whose formatting you want to remove.

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

    • If you are working with a text box or a date picker, click the Data tab.

    • If you are working with an expression box, click the the General tab.

  3. Click Format.

  4. In the Format dialog box, click None (display XML value).

When you remove the formatting from a date, time, or number, the displayed value for the date, time, or number will exactly match the value that is saved in the form's data source.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.