Title: Voting weight
Last modified: May 7, 2024

---

# Voting weight

 *  Resolved [ikus1i](https://wordpress.org/support/users/ikus1i/)
 * (@ikus1i)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/voting-weight/)
 * Hi, I’m looking for a solution regarding the creation of surveys where residents
   who own a share in the property will participate, where each resident has a different
   voting weight based on square meters. Unfortunately, I haven’t found a way to
   utilize the assigned weight in surveys. Is there any way to conduct voting in
   surveys, somehow utilizing voting weights?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/voting-weight/#post-17739001)
 * Hello [@ikus1i](https://wordpress.org/support/users/ikus1i/)
 * Thank you very much for using our plugin. The implementation will depends on 
   your data.
 * If every person has associated a weight for a survey with three possible answers.
   Each time a user votes, you can populate four variables in the database, I will
   call them A, B, C, and TOTAL.
 * If the user selects the first choice, the variables A and TOTAL will be increased
   in the user weight.
 * If the user selects the second choice, you can increase the variables B and TOTAL,
   and C and TOTAL if the user selects the third choice.
 * At the end of the process, you can generate the ranking of the votes by comparing
   the values A/TOTAL, B/TOTAL, and C/TOTAL. Or if you want them into percentages:
   A/TOTAL*100, B/TOTAL*100, and C/TOTAL*100
 * Best regards.
 *  Thread Starter [ikus1i](https://wordpress.org/support/users/ikus1i/)
 * (@ikus1i)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/voting-weight/#post-17739291)
 * Hello @[codepeople](https://wordpress.org/support/users/codepeople/) thank you
   for help ! I used a simple formula, which I’ll define for each resident.
   PREC((
   fieldname3-0)*IF(fieldname3==’18’,0.90),2,true)**one more question to you is 
   it possible to fill out the form only once :)?**
 *  Thread Starter [ikus1i](https://wordpress.org/support/users/ikus1i/)
 * (@ikus1i)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/voting-weight/#post-17745161)
 * Hi, I’d like to ask if it’s possible to fill out the form only once? Can the 
   plugin be connected to registered users using a function?
   Thank you for your 
   help in the previous post. I used the “if” function for multiple residents to
   determine voting weights.example:(function(){if(fieldname3==18){return 1000/124;}
   else if(fieldname3==19){return 1000/65;}
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/voting-weight/#post-17745200)
 * Hello [@ikus1i](https://wordpress.org/support/users/ikus1i/)
 * To allow the registered users voting only once you will need the “CFF – Users
   Permissions” add-on distributed with the Developer and Platinum plugin distributions.
   Learn more about the “CFF – Users Permissions” add-on by reading the following
   blog post:
 * [https://cff.dwbooster.com/blog/2019/07/04/users-permissions](https://cff.dwbooster.com/blog/2019/07/04/users-permissions)
 * Your equation is incomplete. Furthermore, in my opinion a better alternative 
   would be to store the users votes weights as users metadata and access them by
   using the DS fields.
 * [https://cff.dwbooster.com/blog/2019/02/14/ds](https://cff.dwbooster.com/blog/2019/02/14/ds)
 * Best regards.
 *  Thread Starter [ikus1i](https://wordpress.org/support/users/ikus1i/)
 * (@ikus1i)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/voting-weight/#post-17745900)
 * Hello @[codepeople](https://wordpress.org/support/users/codepeople/) could you
   tell me if there is a different price if I want to upgrade from the Professional
   to the Developer version?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/voting-weight/#post-17746084)
 * Hi! We’d like to help but we can’t reply about that in this forum. We are not
   allowed to support any customers in these forums.
 * For pro or commercial product support please contact us directly on our site.
   This includes any pre-sales topics as well.
 * Commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   We will happily answer this and any other questions you can have [on our own site](https://cff.dwbooster.com/contact-us).
 * Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Voting weight’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/voting-weight/#post-17746084)
 * Status: resolved