This is how the required validator is implemented....
# tornadofx
e
This is how the required validator is implemented. Based on this it should be pretty easy to add other validators: