Support » Plugin: Calculated Fields Form » What's the order of calculations?

  • Resolved mharpen

    (@mharpen)


    Great plugin!
    I can’t find any doc on what the Order of the calculations is. If I have multiple calculated fields on the form, are they processed in the displayed order? Or are they processed in the fieldname order? It would be helpful to add this to the doc on calculated fields.

    Also, is there any way to change the field names? It would be more helpful to use meaningful field names in the calculations rather than fieldname1, fieldname2, etc.

    Thank you!!

    http://wordpress.org/extend/plugins/calculated-fields-form/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Each time a field value changes (including the calculated fields) an event is fired to re-calculate all the fields, so the order isn’t relevant, just avoid creating buckles between calculated fields.

    The value of a calculated field will appear automatically once all the fields used in the calculations become available with a valid number or date.

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘What's the order of calculations?’ is closed to new replies.