Skip to main content
Nintex Community Menu Bar

Invalidate special character " or quote character

  • August 1, 2019
  • 2 replies
  • 7 views

Forum|alt.badge.img+1

I am attempting to add a rule to a form that carries out the following logic:

contains({Self}, """) which would invalidate a field if the user enters any quotation characters. This does not seem to work but when I do this: contains({Self}, "&"), it invalidates if a & is entered. Is there any way to invalidate a quote character?

2 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • August 1, 2019

Hi.

Use the rule:

contains({Self},"""")

Or configure the validation in the control itself.

3780iE0BDF1C55ECCA17A.png

Either way will work.

 


Forum|alt.badge.img+1
  • Author
  • August 2, 2019

@SimonMuntz Thank you for your suggestion. It worked like a charm!