Hello Chriariaan, thank you so much for your reply, I really liked this new way of thinking out a form.
My problem is a little bit different.
I require my team to answer a form choosing only 3 items in the seletc list. I have a list of 20 options and they must be able to see all of them but are required to pick only 3. The way the form and the column configuration works, when you “allow multiple selection” on a “select list” column configuration, it’s possible to select from 1 to all the options available.
I need to limit this selection to only 3.
Unfortunatly filtering the list won’t work (I believe) since filters “hide” what you don’t want to appear but it’s a great solution to other problems I have in other forms. Once again, thank you so much for this article!
in a form you can set the question as required and next you can set the condition
here you have to set the condition that the count of the items is 3,
I wrote about a more complex setting in this blog
When validating input, you can’t use the current field in the validation formula, because that results in a circular reference. But with one helper column, you can do exactly what you want (if I understand your needs correctly).
Even though you can enter more choices than allowed, you will get an error upon leaving the formfield (or submitting the form) and you have to correct the number of choices.
It is a little bit buggy, but I am sure Coda will fix that. Make sure you read the notes I put in the document.
Edit: the buggy behavior has been resolved - this works as you would expect now.