Sort output of 6 different fields from high to low

By: jannik Lindner | Asked: 08/30/2023
ForumsCategory: How-toSort output of 6 different fields from high to low
jannik Lindnerjannik Lindner asked 8 months ago
Hello Everyone, I'm encountering an issue while creating a "personality test" using Formidable Forms. My test consists of 18 questions, and each question has a corresponding score ranging from 1 to 5 based on the answer, from "Strongly Disagree" to "Strongly Agree." At the conclusion of the test, I aim to calculate six different values, each representing a distinct leadership style. To achieve this, I am using radio buttons for the questions and have implemented six number fields, each of which calculates a separate variable. My challenge lies in creating a view that sorts these six variables from highest to lowest. Currently, it appears that I can only sort by a single field, not multiple fields. Is there any way to accomplish this? Thank you for your assistance. Best regards,
Jannik Lindner
1 Answers
Victor Font answered 8 months ago
You can sort multiple fields in a view, but in your case, because of your design, you'll need custom code to sort the six separate number fields from highest to lowest. I suggest you create a custom shortcode to sort and display the results. If you need a developers help, please see

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community