Edit Form: Calculated Fields | WordPress.org

Related to editing entries, if I click the “Edit” button on any of the entries, fields that are “calculated” based on other form fields don’t seem to re-calculate like they do on the original entry form.

Calculated Fields

For instance, I have a three fields on my form: Adults, Children and Family Size. Family Size is equal to Adults + Children. Changing the values of the form fields doesn’t re-calculate the value for Family Size.

Repeater Fields

Same thing for a repeater field. I have a repeater with a calculated number of rows equal to Children. If I add or subtract Children, I do not get new rows in the repeater field.

Conditions

This also appears to be true for custom validations or conditions. Changes in values don’t seem to trigger the check against conditions.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer