Expression Validation on webform field
I'm attempting to set some math based validation on a field for a web form but it's letting me submit each time. I've tried simplifying my expression to something as simple as "this > fields.fieldname", as is suggested on the help site, and that doesn't work either. It still submits if "this" is 2 and "fields.fieldname" is 100. Maybe I'm misunderstanding the Expression validation, though.
Answers
-
Hi @nikko_114200,
Is this still an issue you're trying to solve? I know it has been a while since you originally posted your question, and I want to make sure you're able to use validation correctly in web forms.
Often times, evaluating two separate field types can throw off expression validation (evaluating a string field against an integer field).
I'd recommend reviewing the help articles below so you can determine the best method to creatively apply conditions & validations to your web form fields.
- Conditionally display fields on a web form: https://help.catalytic.com/docs/set-rules-to-show-or-hide-fields-in-a-form-or-task/
- Apply entry validation to fields: https://help.catalytic.com/docs/apply-entry-validation-to-fields/
- Expression validation overview: https://help.catalytic.com/docs/expression-validation/
Please let me know if you have any questions and I'll be happy to help.
0