Hi all,
I can’t seem to get the validators to work if there’s multiple modules on a page. Value validation works fine when on it’s on page by itself, but seems to fail if there’s more than one module? I’m testing with a simple value == “” example to make it required and it doesn’t show the error message. Am I missing something? Setting the required flag does work on the field itself, but I have some more complicated validation expressions I’d like to run that wouldn’t work for this.
Let me know if you need more information to assist. Appreciate it!
What do you mean by “multiple modules on a page”?
What are you trying to achieve? What is your condition?
What values(and their types) are you working with?
Thanks for the quick reply and sorry for lack of information. After more testing, it seems unrelated to the multiple modules, but actually it’s just that we cannot test if a field is required?
So the field is a Text Input(string). The condition (for now) is just value == “”. I’ve also tried length(value) == 0. Saving the record and leaving that field empty doesn’t trigger the validation. Obviously using the required flag works, but the problem that we’re actually trying to solve is that this field is optionally required, i.e. only required if another field is set to true. Just getting this to work would be ideal.