Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Validation rule to ensure no more than 3 options are being selected

Jane Smith June 18, 2025

Hi all,

I've seen this and this thread, but for some reason it's not working for me. I can't for the life of me figure it out.

I have a ConfiForms Field Definition named "categories" with the field type as checkbox group. I want the user to select up to only 3 categories. In the Field Definition, I have used categories.asCount:>3 in the Validation rules field in the bottom. The submission only works when 0 options are selected. If I select even 1 checkbox, the validation triggers. Similarly, I did the Confiforms Rules for Field Definition, and get the same thing. What can I be doing wrong?

1 answer

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
June 18, 2025

Hi @Jane Smith 

This is a video of a very simple example that does what you want

Hope it helps

Alex

Jane Smith June 27, 2025

@Alex Medved _ConfiForms_ thank you very much. I had the statement in the wrong place - it was in "validation rule" instead of "condition" 

Alex Medved _ConfiForms_
Community Champion
June 27, 2025

Very common mistake, and we are very sorry about that. Probably should make it a lot clearer how to configure a validation rule. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events