Score:0

Check if a group of fields have a unique value

pe flag

I use webform and I have a group of 5 star fields (Rateit.js) that can be rated from 1 to 5 stars. The users must enter unique values. For example, they score 5 solutions with 1 to 5 stars; they cannot score two solutions with 3 stars.

screenshot

I tested with unique, unique per entity, and unique per use options, but it does not work.

Could this be the solution or is it not for my problem at all?

enter image description here

I thought otherwise to do a validation in Javascript only for this field but what is the best way to integrate my JS knowing that I use a form in several steps with AJAX.

Thanks for your advices.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.