cancel
Showing results for 
Search instead for 
Did you mean: 
sdkoch1042
Nintex Newbie

Nintex Form - validation on multiple checkboxes

Jump to solution

I have a form with a Choice column that has multiple checkbox enabled.  I want to ensure all the checkboxes are selected before the form can be submitted.  I have been unable to find any articles on setting up the validation

Tags (1)
Reply
14 Replies
sdkoch1042
Nintex Newbie

Re: Nintex Form - validation on multiple checkboxes

Jump to solution

isNullOrEmpty({Self}) only requires one of the checkboxes be selected to pay the validation.  I need all the checkboxes to be select before the form can be submitted.

0 Kudos
Reply
Automation Master
Automation Master

Re: Nintex Form - validation on multiple checkboxes

Jump to solution

Following validation formula might have worked for you

(assumed 5 options in choice control)

If(Array.isArray(ChoiceNamedControl),length(ChoiceNamedControl),If(length(ChoiceNamedControl)>0,1,0)) < 5‍‍

View solution in original post

0 Kudos
Reply
lakshminarayana
Nintex Newbie

Re: Nintex Form - validation on multiple checkboxes

Jump to solution

Hi

Use validation rule length(Currency) < 8 (Currency is named control)

 

Thanks,

Lakshmi Narayana C 

Reply
Automation Master
Automation Master

Re: Nintex Form - validation on multiple checkboxes

Jump to solution

this will not work if you only tick single checkbox - in that case it returns length of string not length of array...

0 Kudos
Reply
lakshminarayana
Nintex Newbie

Re: Nintex Form - validation on multiple checkboxes

Jump to solution

0 Kudos
Reply
Automation Master
Automation Master

Re: Nintex Form - validation on multiple checkboxes

Jump to solution

hm, that's interesting...

what version have tested it on?

could you add two more calc value controls on the form, one with formula just 'Currency' and second one 'length(Currency)'

0 Kudos
Reply
lakshminarayana
Nintex Newbie

Re: Nintex Form - validation on multiple checkboxes

Jump to solution

Reply
Automation Master
Automation Master

Re: Nintex Form - validation on multiple checkboxes

Jump to solution

and if you select just one checkbox?

0 Kudos
Reply
lakshminarayana
Nintex Newbie

Re: Nintex Form - validation on multiple checkboxes

Jump to solution

Reply