LIVE PREVIEWBUY FOR $18

Description

Calculated Subject for Elementor Kind supplies the power to construct calculator, reserving, order varieties that carry out primary and complicated calculations.

Observe: This plugin requires the Elementor Professional ( Kind Widget ).

Video: How to Create a Calculated Field.

Options

  • A capability to construct calculator varieties
  • A capability to construct reserving varieties
  • A capability to construct order varieties
  • A capability to set a submit meta worth in method
  • A capability to calculate date diff
  • A capability to make use of the JS strategies of the Math object
  • A capability to set differentiate between worth and calculation worth for choose, radio, checkbox
  • A capability to animate a calculate worth
  • A capability to vary decimal and hundreds separator
  • A capability to calculate string values

Instance Calculation Components

Accessible shortcodes:

  • [field id=”number1”] – shortcode for subject worth https://prnt.sc/1seh421. The place: number1 – is a subject ID.
  • [meta id=”price”] – shortcode for present submit meta worth. The place: worth – is a submit meta key.

Accessible features:

  • dateDiffInDays( [field id=”date_field_1”],[field id=”date_field_2”] ) – operate for get date diff in days.
    The place: [field id=”date_field_1”] and [field id=”date_field_2”] – date fields shortcodes.
  • dateDiffInYears( [field id=”date_field_1”],[field id=”date_field_2”] ) – operate for get date diff in years.
  • dateDiffInMonths( [field id=”date_field_1”],[field id=”date_field_2”] ) – operate for get date diff in months.
  • dateDiffInWeeks( [field id=”date_field_1”],[field id=”date_field_2”] ) – operate for get date diff in weeks.
  • The JS methods of the Math object. For instance: Math.spherical( [field id=”number1”] )
  • addDaysToDate( [field id=”date_field”], 30 ) – operate so as to add quite a lot of days to a date subject.
    Parameters:
    • $date – date subject shortcode;
    • $days – variety of days so as to add;
    • $date_format – date format (Optionally available).
  • subtractDaysFromDate( [field id=”date_field”], 30 ) – operate to subtract quite a lot of days from a date subject.
    Parameters:
    • $date – date subject shortcode;
    • $days – variety of days to subtract;
    • $date_format – date format (Optionally available).
  • formatDate( $date, $format ) – operate to format a date object right into a string worth.
    Parameters:
    • $date – the date worth to format;
    • $format – the specified format of the date.

    The format will be mixtures of the next:

    • d – day of month (no main zero);
    • dd – day of month (two digit);
    • o – day of 12 months (no main zeros);
    • oo – day of 12 months (three digit);
    • D – day title brief;
    • DD – day title lengthy;
    • m – month of 12 months (no main zero);
    • mm – month of 12 months (two digit);
    • M – month title brief;
    • MM – month title lengthy;
    • y – 12 months (two digit);
    • yy – 12 months (4 digit);
    • @ – Unix timestamp (ms since 01/01/1970).

Instance 1:

[field id="number1]+[field id="number2"]

Instance 2:

[field id="quantity"]*[meta id="price"]

Instance 3:

dateDiffInDays([field id="date_field_1"],[field id="date_field_2"])*[field id="guests"]

Instance 4:

addDaysToDate( [field id="date_1"], 287 )

How do I get updates?

For details about the brand new model and the set up of updates, you should utilize the plugin from Envato – Envato Market WordPress Plugin.

Change log

v1.2.3

Up to date: examined up variations.

v1.2.2

Up to date: examined with Elementor v3.20.

v1.2.1

Up to date: examined with Elementor v3.18.

v1.2.0

Added: a capability to calculate string values. For instance: date worth;
Added: `Calculated Worth Kind` setting;
Added: new calculation features: addDaysToDate, subtractDaysFrom, formatDate.

v1.1.3

Mounted: calculation course of in some instances.

v1.1.2

Up to date: examined with Elementor v3.12.

v1.1.1

Added: minor enhancements.

v1.1.0

Added: a capability to vary decimal and hundreds separator;
Added: error message in editor if calculation method comprises syntax error;
Added: calculation course of within the editor.

v1.0.8

Mounted: calculation course of if calculated subject has hundreds separator.

v1.0.7

Mounted: calculation course of if method has calculated subject.

v1.0.6

Mounted: animation of worth if worth has hundreds separator.

v1.0.5

Added: a capability to calculate date diff in years, months and weeks.

v1.0.4

Added: `Add hundreds separator` setting.

v1.0.3

Added: a capability to set differentiate between worth and calculation worth for choose, radio, checkbox;
Added: a capability to calculated a number of choose;
Added: a capability to animate a calculate worth.

v1.0.2

Mounted: the datediff characteristic if utilizing the flatpickr picker for date subject.

v1.0.1

Added: a capability to set a submit meta worth in method;
Added: a capability to calculate date diff;
Added: a capability so as to add forex image;
Added: a capability to cover subject;
Added: a capability to cover label.

v1.0.0

First launch


Source