Functionality for Number Fields, like rounding or only absolute numbers, fixed point notation, range calculation, custom units like % or m2 & show as slider.
= 1.0-beta.10 =
- Implemented pow() for use in fields calculation formula setting. Precision of pow() calculations is limited for very large or very small results due to JS and PHP limits.
- Fix abs and rounding not being applied in the backend when the field value is being used in another fields calculation formula.
- Fix rounding being applied before absolute in backend. Now absolute is being applied before rounding, which is more common and also matches frontend behavior.
- Fix ceil to 0 decimals not working in backend for numbers with 1 decimal.
- Fix min/max/pow using formatted field values instead of calculation values.
- **Low level change:** Apply rounding and absolute before saving the field value to the database from now on. This is a low level change but it shouldn't affect the usage of the value in calculations or display as the value is being abs/rounded before it is being used.
= 1.0-beta.9 =
- Increased the possible number of decimal places to 6.
- Fix formatting issue when using paged forms.
- Fix rounding not working on formatted values (breaks calculations in some cases).
- Created separate filters for calculations and formatting.
- Performance improvements.
= 1.0-beta.8 =
- Fix issue with slider with multiple forms on the same page.
- Added 'gravityWP.advancedNumberField.sliderOutput'-filter.
- Fix calculations with custom unit fields in the formula.
= 1.0-beta.7 =
- Fix breaking calculations when result has currency format.
- Fix currency formatting ignoring decimal comma.
= 1.0-beta.6 =
- Implemented min() and max() for use in fields calculation formula setting.
- Fixed PHP warning when ANF settings are empty.
= 1.0-beta.5 =
- Fix: Ceil / Floor not working correctly in some cases due to JavaScript float accuracy.
- Fix: Type error when field is calculated with custom unit active.
- Fix: Apply absolute before rounding / formatting in fixed point.
= 1.0-beta.4 =
- first public release
Paddle Checkout - Advanced Number Field
Subtotal:
Tax:
Total:
Renewal price:
$39.00 (ex VAT)
Advanced options for the Gravity Forms Number Field
Enable Minimum Value CalculationAdd Custom Unit
Features
Rounding numbers Rounding the value inside the Number Field up to 5 decimal places.
Rounding method Decide which direction to round the value: Round (up or down), Ceil (rounding up), Floor (rounding down).
Force absolute numbers Only allows absolute numbers to be filled in in the Number Field.
Add Custom Unit Add a custom unit to the Number Field, like percentage (%) or square meters (m2) and decide on placement: before the input or after.
Enable Maximum or Minimum Value Calculation Do calculations to define what is the Minimum and Maximum validation of the Number Field.
(Range) Slider Turn a Number Field into a (range) slider.