Monday, September 10, 2018

Warning Message: Invalid percentage (must be between 0 and 100) isreturned when Value of a Custom Percent Field is Greater Than 100%


Below is the setup of custom field (transaction body field):



Type: Percent

Store Value: Yes 

Applies To: Sale 



When value of custom field is greater than 100% warning message: Invalid percentage (must be between 0 and 100), is returned.


To allow a user to enter a value greater than 100% in the custom field, perform the following steps:

     1. Navigate to Customization > Lists, Records, & Fields > Transaction Body Fields.
     
     2. Edit the custom field.
     
     3. Click the Validation & Defaulting tab.
     
     4. In the Minimum Value field, set the value (e.g. 0).
     
     5. In the Maximum Value field, set value (e.g. 150).
     
     6. Click Save.
     
Note: If minimum and maximum values fields are blank, the default percent is from 0-100.

 

No comments:

Post a Comment