Regex
Barney
Hello,
I'm just wondering if Regex rule can have a condition?
for example, I want that some UDF field will be mandatory just in case the line is open (line status)?
Is it possible in regex?
Thanks ,
Barney
Anders Olsson
Hi Barney,
A regex rule cannot have any conditions. To implement that you would have to create a C#/VB rule to determine the condition and implement the regex using .NET. You will find it in the System.Text.RegularExpressions namespace.
Regards,
Anders
0
Please sign in to leave a comment.
Comments
0 comments