Form Notifications based on Assessment Scores [RESOLVED]

A client wants an assessment form with 8 sections. Each section will have three questions (numeric answers) with a calculated total. All this is easily accomplished with Gravity Forms. What I need to do is sort/filter the totals to the top three scores and present in order in the notification email and a PDF using a plugin like Gravity PDF. I’ve found that just about anything is possible with Gravity Forms but I’m not sure where to start with the finding and sorting the top three calculated results.

Thanks

Hi Brett. There is nothing built in to Gravity Forms that will do this for you. But you can do almost anything as you said, with Gravity Forms. You could use the gform_pre_submission filter (if you want to store these top three or identify the top 3 and store that in the entry) or if you need to use that information in the notification only, then you can use gform_notification.

Those two filters will give you the correct “time and place” to run your code to determine which are the top three. How you determine the top three, and deal with any ties or equal values, is up to you and can be done in PHP.

Thanks for the the information. That is enough to get me moving in the right direction.

Thanks Brett. If you need anything else, feel free to open a new topic.