Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This pattern allows you to specify the number of decimal places for Number Controls. Change the number 6 in the pattern to the desired number of decimal places. Note there is a period before the second slash.

Code Block
\d+(\.\d{1,6})

An customized error message displays if the user enters more than the allowed number of decimal places and the control becomes invalid.

...