Validating Syntax of Dynamic Expressions without parameter values #326
-
|
Hi community, I have a system that allows creating rules, rule always returns bool. My parameters are defined like this: I then use I'd like to add validation to my system, so I need to check if the expression that user entered in my form is valid. I'm doing this right now: is there an easier way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
You don't have to specify the parameter value in order to parse the expression. If the expression is not valid, it will throw in the |
Beta Was this translation helpful? Give feedback.
You don't have to specify the parameter value in order to parse the expression.
Here an example:
If the expression is not valid, it will throw in the
Parsefunction.