CMS Development

BNunan
Participant

Need a method for Judges to score a nomination custom object

SOLVE

Hello!

 

So we run an Awards program. We have been using a third party tool for management of nominations submissions and judging. Due to a number of limitations, we are moving to our own system.

 

We have built the system for peopel to submit a nomination. That creates a custom object.

 

Where I'm stuck is that I now need a way for judges to be able to review those custom objects and record a score against each one.

 

My plan was to build a membership site, that has a dynamic page that pulls in the approrpriate information from the nomination custom object for the judge to review. That appears pretty doable and standard coding.

 

However, where I'm stuck is how to show a property (or something), where the different judges can record their score for each nomination they read.

 

Any help would be appreciated. Thanks!

0 Upvotes
1 Accepted solution
NathanAtGrowth
Solution
Participant

Need a method for Judges to score a nomination custom object

SOLVE

Within your module that displays a listing view of the nominations, you'll be looping through your object and displaying data like {{ item.name }}. I'm assuming you'll have a button for each item that links to open that nomination's information. Make that link something like:
/voting?nomination_id={{ item.id }}

...where {{ item.id }} is whatever value you are wanting to pass in your form and "nomination_id" is the name of the hidden form field where you want to populate this.

Then the page will load with the form and that field will be auto-populated with the set value.

View solution in original post

0 Upvotes
5 Replies 5
BNunan
Participant

Need a method for Judges to score a nomination custom object

SOLVE

THanks for the quick reply Nathan. Appreciate it. Yeah, that's where I was struggling. I know I can't just have a 'score' porperty the judge fills out and it saves. So I was thinking essentially a form with one field. Thanks for the suggestion regarding hidden fields so it ties to the correct record - I need to figure that out so when a custom object is displayed in a dynamice page, how does the form know which object ID to pull?

 

Seperately I'll be building an object/system to assign judges (contacts) to a certain batch of nominations, so that is all they see when they log in. 

0 Upvotes
NathanAtGrowth
Solution
Participant

Need a method for Judges to score a nomination custom object

SOLVE

Within your module that displays a listing view of the nominations, you'll be looping through your object and displaying data like {{ item.name }}. I'm assuming you'll have a button for each item that links to open that nomination's information. Make that link something like:
/voting?nomination_id={{ item.id }}

...where {{ item.id }} is whatever value you are wanting to pass in your form and "nomination_id" is the name of the hidden form field where you want to populate this.

Then the page will load with the form and that field will be auto-populated with the set value.

0 Upvotes
BNunan
Participant

Need a method for Judges to score a nomination custom object

SOLVE

Thanks again, for this. I'll look into this with my developer. As we're going to have multiple judges, I assume I'll have to create properties in the custom object for 'Judge 1 Score', 'Judge 2 Score', etc?

0 Upvotes
NathanAtGrowth
Participant

Need a method for Judges to score a nomination custom object

SOLVE

Yes, then you can setup your module to filter the data that displays and only show nominations that are assigned to the logged in user.

0 Upvotes
NathanAtGrowth
Participant

Need a method for Judges to score a nomination custom object

SOLVE

A membership site should certainly work here. When you setup build a module to display the nominations to the members, I would suggest that you have a dynamic page setup to show the nomination details from the custom object, and include a form on that page to submit your vote. Include a hidden field that is populated by the name or ID of the nomination item so you know what object the vote is associated with.

I could give more specific suggestions if I saw exactly what the setup and process was, but hopefully this helps a bit.

0 Upvotes