Skip Navigation

[Resolved] Allow judge to 'tick' entries as finalists

This support ticket is created 3 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 7.05 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 6 replies, has 3 voices.

Last updated by Jamal 3 years ago.

Assisted by: Jamal.

Author
Posts
#2209217

People complete an entry form (approx 500)

Each entry is a post.

The judge then needs to rate each entry as 'yes', 'no' or 'maybe' (radio buttons)

They may change the rating as they narrow it down to 50 entries.

I can't work out how to do this - is there a way?

#2209839

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

They should be able to do this from a list rather than reviewing each entry individually?

You could create a View that lists the posts (you'll need pagination), and in the output of the View for each entry include a post edit form to edit the post, but the post only contains the field you use to rate the entry as well as an update/submit button. The form can submit via ajax in situ.

You may want to include a filter so that they can show only the maybe's, for example, when reviewing the entries later.

#2209843

I would like to add that you may also want to add sorting on the view based on that field, that way you may see the "Yes" posts first, or at last.

Let us know if you need further assistance.

#2213385

Hi,
I need them to be able to tick yes/no/maybe while viewing the actual post.
There will be a group of people viewing the entry together and discussing whether to tick yes/no/maybe
Is there a way to add this?

#2214971

Well, out of the box, you can't have 3 buttons(Yes, No, Maybe) to save the form. But, you can have a radio field with 3 options(Yes, No, Maybe) and the submit button. The judge will choose which option, then he must hit on the submit button to save.

With some custom Javascript code, you can hide the submit button and programmatically trigger it when the user choose a different value for the radio field. Does it make sense?

#2215345

I probably didn't explain it very well.

Step 1 - Entrant fills in an entry form which includes a photo of the entry and some more info
2. Entry is saved as a Post
3. Judges view the posts and decide which ones to mark as yes/no/maybe

So, I'm not sure what steps to take to get started.

Do I create a view and then add the yes/no/maybe radio button?
Will I be able to make it so they can only change the radio button and nothing else?

#2215579

Honestly, a view is not really required in this case, but it may be convenient. Keep in mind these 3 assumptions:
- A view is meant to query and display a list of posts.
- A form is meant to create or edit ONE post.
- A content template is meant to display ONE post. It can be assigned to a custom post type, and display its single post pages, or it can be used inside a view or another content template.

This being said, an edit form to update the post's field(Yes, No, Maybe) is required. You can use it in the post's content template, and in this case, you will have to visit each post in order to use the form.
Or you can use it inside the loop of the view that query posts, this way, you will have a form for each post that the view returns.
Does it make sense?

If you are unsure what to do next, allow me temporary access to your website to check what you have built so far and I'll help you with what's next. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **