Initial attempt at writing a FXValidator