Hello,
I'm trying to use the EM to count words.
This one works.
{if(regexMatch('/^[-\w]+(?:\W+[-\w]+){1,10}\W*$/', Titrefinal), join("Excellent, you have less than ",NbMaxMotTitre," words."), join("You have too much words. You must have a maximum of ",NbMaxMotTitre," words."))}
But I can't parse a calculated field.
{if(regexMatch('/^[-\w]+(?:\W+[-\w]+){1,NbMaxMotTitre.NAOK}\W*$/', Titrefinal), join("Excellent, you have less than ",NbMaxMotTitre," words."), join("You have too much words. You must have a maximum of ",NbMaxMotTitre," words."))}
Any idea?
Thanks in advance!
The topic has been locked.