Amount Field for Elemtor PRO Form
This Extension is available for the Form included in paid version of Elementor (Elementor PRO) only, that is NOT included in our plugin.
This extension adds a new type of field in the Form Fields settings.
Standard options are available for this field, like Label, Width, etc.
This is the expression which will calculate the total amount.
You can mix dynamic fields with Tokens ([form:field_ID]) or Elementor shortcodes ([field id="field_ID"]) and static values grouped if need inside brackets.
Here some example:
- [form:field_1] * 2 + 8;
- [form:field_1] * ([form:field_2] + [form:field_3]);
- (([form:field_1] * 3) + ([form:field_2] + [form:field_3])) * [form:field_4].
NOTE: All fields used in the formula MUST be numbers (integer or float).
Select and Radio could be used if you set a specific number for each option:
Use Amount in Actions
The Amount result will be available in emails data and other actions, calling it with its Custom ID.
- [field id="my_total"].