Freedom UI: How to validate one field based on another
14:10 May 23, 2025
Hi,
In Freedom UI, I need to validate a text field based on the value of a lookup field.
The first thing I tried was adding a custom validator in the validators
block of the text field, using control.model.get(...)
to access the lookup field value. However, in Freedom UI, control.model
is undefined
, so the validator doesn’t work.
What’s the correct way to perform cross-field validation in this case?
Thanks in advance!
Like
0 comments