• Resolved fattdaddyj

    (@fattdaddyj)


    I have a working site that allows my employees to log in and complete an monthly form. I am looking to assign them a score, let’s say of 100. I would like to add two form fields with a simple drop down selection and have their score adjust based on their selection. Option A would not change the score at all, option B would deduct 10 points from their assigned score. Once submitted, the calculated score would then save and update in their profile. Is this functionality possible using the Calculated Fields Form? Thank you in advance.

    https://www.ads-software.com/plugins/calculated-fields-form/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Yes, the form you need can be implemented with our plugin, but you need to know the database structure that stores the users scores. In your project will be needed the developer version of the plugin that includes a group of fields, represented with the “DS” text in their names, whose values are populated from external data sources (in your case the database with the scores). Furthermore, you will need to store the calculated score in the database used in the users profiles, for this task you should to edit the “cp_calculatedfieldsf_insert_in_database.php” file, to configure the database, to insert the new score, and create the insertion queries.

    These features require some knowledge about SQL queries.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Save Calculated Points To User Profile’ is closed to new replies.