WordPress.org

Ready to get started?Download WordPress

Forums

Calculated Fields Form
[resolved] What's the order of calculations? (2 posts)

  1. mharpen
    Member
    Posted 1 year ago #

    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/

  2. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.