Okay
  Public Ticket #2939168
Creating a Leaderboard
Closed

Comments

  • Hazzan & Mrs. Michael Weis started the conversation

    I'm wondering if I can use wpdatatables in conjunction with Gravity Forms to create a leaderboard for my organization. Our members need to log their continuing education hours on a regular basis and we have set it up as a competition. So an individual may enter several times. We need to be able to total up each person's entries and then sort all the individuals totals in descending order. 

    Can we do this and if so, how?


    Mike

  • [deleted] replied

    Hi Mike

    Thank you for reaching out to us.

    Every editable table can be editable by users on front-end, if you enable editing for the chosen columns. You can also set the column for sorting on load so your data can be displayed in the desired ordes as soon as the table loads. 

    In order to use "Users see and edit only own data" feature, you need to have the User ID column in the table, where the user's ID will be populated. If you don't predefine rows so the User ID column contains IDs of your users, they will first see an empty table, with only columns, and 0 rows.

    When they add new lines into the table, their ID will be populated in the User ID column.

    To total up the entries you can use our formula columns and display the final result in a separate column.

    I hope this helps, but if I misunderstood something please do provide us with some more information or examples of what you would like to achieve so we can provide you with the best solution.