A new Field type available in Form > Content > Form Fields > Your Field > Type.
It consent to display a calculated field based on User choices in this form.
The result value can be display on the form and used on all Actions.
It’s the expression which define the operations to calculate the total.
As dynamic placeholder of the Form fields you can use the standard Field Shortcodes or Tokens.
Examples (they return the same result):
- [field id=”qnt”] * [field id=”price”]
- [form:qnt] * [form:price]
The result field will not appear visible on the Form, but it’s usable inside the Actions
Expression used in this demo:
[form:room]*[form:nights] + [form:adults]*[form:nights]*[form:breakfast] + ([form:adults]+[form:children])*[form:nights]*2