This error occurs if your application code attempts to set the decimals property of a text box control to a non-zero value when the dataType property is set to alphanumeric.
Action
You must first set the dataType property to indicate that the text box will accept only numeric primitive type data and then set the decimals property.