Title: Numeric Calculation
Last modified: February 3, 2022

---

# Numeric Calculation

 *  [in-business](https://wordpress.org/support/users/in-business/)
 * (@in-business)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/numeric-calculation-2/)
 * Hello again,
 * Sorry to keep asking lots of questions, but once I have the main setup done, 
   I will be good to go…so thank you for your patience.
 * Is there a way with the current version, or possibly with your upgraded version
   to count entries in a “Multiselect Checkbox” – so for example, if the multiselect
   was as follows:
 * Car Design:
 *  – Leather seats: Checked
    – Alloy wheels: Checked – Metallic paint: Unchecked–
   Satnav: Unchecked – Diesel: Checked
 * So in this case all the “Checked” items would equate to 1 and all the “Unchecked”
   items would equate to 0, which means the total would equal 3 in the above example.
 * Thank you

Viewing 4 replies - 91 through 94 (of 94 total)

[←](https://wordpress.org/support/topic/numeric-calculation-2/page/6/?output_format=md)
[1](https://wordpress.org/support/topic/numeric-calculation-2/?output_format=md)
[2](https://wordpress.org/support/topic/numeric-calculation-2/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/numeric-calculation-2/page/3/?output_format=md)…
[5](https://wordpress.org/support/topic/numeric-calculation-2/page/5/?output_format=md)
[6](https://wordpress.org/support/topic/numeric-calculation-2/page/6/?output_format=md)
7

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/numeric-calculation-2/page/7/#post-15424081)
 * That code only applies to signup form submissions, not updates.
 *  [crowwoods1](https://wordpress.org/support/users/crowwoods1/)
 * (@crowwoods1)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/numeric-calculation-2/page/7/#post-15429596)
 * Thanks for being patient!
 * So I had calculations.php write the values for:
    template ->calc_body – looks
   great replacement data – looks great calc_list – nope, that’s what’s in the database
 * So I went back to the custom_calc_field.php, the replacement value there looks
   good too. So maybe my problem is instead of using $record_data for all the calculations,
   I just need to use $replacement_data for them. What do you think?
    -  This reply was modified 4 years, 2 months ago by [crowwoods1](https://wordpress.org/support/users/crowwoods1/).
 *  [crowwoods1](https://wordpress.org/support/users/crowwoods1/)
 * (@crowwoods1)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/numeric-calculation-2/page/7/#post-15429625)
 * Yay!!!! It worked.
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/numeric-calculation-2/page/7/#post-15429988)
 * glad to hear it, yes, that makes sense.

Viewing 4 replies - 91 through 94 (of 94 total)

[←](https://wordpress.org/support/topic/numeric-calculation-2/page/6/?output_format=md)
[1](https://wordpress.org/support/topic/numeric-calculation-2/?output_format=md)
[2](https://wordpress.org/support/topic/numeric-calculation-2/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/numeric-calculation-2/page/3/?output_format=md)…
[5](https://wordpress.org/support/topic/numeric-calculation-2/page/5/?output_format=md)
[6](https://wordpress.org/support/topic/numeric-calculation-2/page/6/?output_format=md)
7

The topic ‘Numeric Calculation’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 94 replies
 * 3 participants
 * Last reply from: [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/numeric-calculation-2/page/7/#post-15429988)
 * Status: not resolved