I'm looking to set a 'score' property on my "category" field, this will be done by calculating how many entries are within that category similar to a 'Trending' feature.

Is there any way to set a property by doing a sum something like entry.count x 0.4 and then setting the field with the result?


  • 1
    Since this value is always dynamic you could just count the elements each time you would like to display the number rather than save it into a field. Otherwise you would have to use the onSave event to store the information – Robin Schambach Apr 7 '18 at 14:55
  • @RobinSchambach That’s a solid answer, you should post it. I actually think that’s the best solution. – Lindsey D Apr 7 '18 at 17:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.