How to limit the uniselector form control to a maximum of X documents?

Lance Keay asked on August 31, 2017 16:25

I have a page type with a field that uses a uniselector. I have the 'where' condition restricting to a single type of document. I'd like to also be able to restrict the uniselector to only allow a maximum of 3 documents.

Correct Answer

Trevor Fayas answered on August 31, 2017 18:00

Sadly by default it doesn't have the ability to limit the # of items selected. You often have to put some form of Field Validation rule that checks for the delimiter. (ex if you have 123|234|345 then you have X-1 delimeters found)

1 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.