Description
Calculated Field for Elementor Form provides the ability to build calculator, booking, order forms that perform basic and complex calculations. This plugin require the Elementor Pro ( Form Widget ).
Features
- An ability to build calculator forms
- An ability to build booking forms
- An ability to build order forms
- An ability to set a post meta value in formula
- An ability to calculate date diff
- An ability to use the JS methods of the Math object
- An ability to set differentiate between value and calculation value for select, radio, checkbox
- An ability to animate a calculate value
Example Calculation Formula
Available shortcodes:
- [field id=”number1”] – shortcode for field value https://prnt.sc/1seh421. Where: number1 – is a field ID.
- [meta id=”price”] – shortcode for current post meta value. Where: price – is a post meta key.
Available functions:
- dateDiffInDays( [field id=”date_field_1”],[field id=”date_field_2”] ) – function for get date diff in days. Where: [field id=”date_field_1”] and [field id=”date_field_2”] – date fields shortcodes.
- The JS methods of the Math object. For example: Math.round( [field id=”number1”] )
Example 1:
[field id="number1]+[field id="number2"]
Example 2:
[field id="quantity"]*[meta id="price"]
Example 3:
dateDiffInDays([field id="date_field_1"],[field id="date_field_2"])*[field id="guests"]
Change log
v1.0.4
Added: `Add thousands separator` setting.
v1.0.3
Added: an ability to set differentiate between value and calculation value for select, radio, checkbox; Added: an ability to calculated multiple select; Added: an ability to animate a calculate value.
v1.0.2
Fixed: the datediff feature if using the flatpickr picker for date field.
v1.0.1
Added: an ability to set a post meta value in formula; Added: an ability to calculate date diff; Added: an ability to add currency symbol; Added: an ability to hide field; Added: an ability to hide label.
v1.0.0
First release