I can’t find any documentation on if this is possible.
I want to have a field in the form entry.
The user must fill in this field with a string (it’s a customer # from another table).
So the condition is a simple query, does the field exist IN the other table.
Form can only be submitted if the query is true.
It doesn’t matter if the condition reveals the submit button, or not meeting the condition causes a submission validation error.
Still debatable, but I would imagine I end up with an Array of all possible values.
The value in the form should just be contained in that Array ( in_array() )