Rememberer
Nintex Newbie

Validation max/min characters per word / no limit in field

Hi all,

 

I need a single line textbox field validation to validate

min/max characters per word are e.g. 4, but no validation limit on total number of words/characters.

 

E.g.:

ABCD                             is ok

ABC ABCD                     is not ok as one word with less than 4 charakters

ABCD ABCD                  is ok

ABCD ABCD ABCDE    is not ok as one word with more than 4 charakters

 

Can anyone help me?

Thx a lot!

0 Kudos
Reply
2 Replies
mlauer
Nintex Newbie

Re: Validation max/min characters per word / no limit in field

Use regular expression for validation, e.g.:

^(\w{4,4} )*\w{4,4}$

 

 

 
0 Kudos
Reply
Rememberer
Nintex Newbie

Re: Validation max/min characters per word / no limit in field

Thanks. This helps but leads to a problem somewhere else:

 

I'd also like to apply different/conditional validation rules based on the selection of a drop down field.

As far as I see, this is not possible with regular expression?

Any idea? I'd prefer not to use JavaScript.

0 Kudos
Reply