ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Doing Math with entry data

May 15, 2012 3:20pm

Subscribe [2]
  • #1 / May 15, 2012 3:20pm

    Doug E

    98 posts

    The site I’m working on now will collect information on members. Much of this is in the form of selecting options from drop downs, checking boxes or radio buttons. I’d like to process this information in a way that lets certain members (company personnel) see a number of visual indicator of their answers.

    For example, if we had check boxes for different skills: HTML, CSS, PHP, ExpressionEngine, CodeIgnitor, jQuery, etc we could assign them values: HTML (1), CSS (1), PHP (2), ExpressionEngine (3), CodeIgnitor (3), jQuery (2). Then if someone were to click HTML, CSS, and ExpressionEngine as skills they posses the system could calculate the value: 1+1+3 = 5. This could then be used to create a bar graph or other visual using CSS or js. Personnel could then scan a list and visually see how people ‘scored’. The goal is to be able to see a list of entries (members Zoo Visitor profiles) and quickly tell who the most qualified are on paper.

    Any ideas? I’ve seen some add ons, but none that seem to use Field data. This will probably take some PHP I’d guess, and might be a good candidate for making it into a plugin. SOmething I’ve not done and frankly am not a PHP guy. But I’d at least like to know if I’m on the right track or if there is a solution out there I’ve missed.

  • #2 / May 16, 2012 6:43am

    Laisvunas

    879 posts

    Hi,

    To do math try this add-on: Math Plus plugin.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases