JavaFX Form Validation

Richard Bair richard.bair at oracle.com
Mon Jun 11 09:02:43 PDT 2012


Hi Jonathan,

Another place you should go check is the HTML 5 Validation system. I think that it would form the "minimalist" base layer that Tom S. and Gerrit are looking for, but is also the foundation you'd want for just about any validation framework. Basically, each Control would get a "valid" boolean property, and would set a pseudo-class "valid" or "invalid" depending on the boolean. A developer (or framework) is then responsible for binding the valid state of any control to the results of validation for that application.

http://stephenwalther.com/archive/2012/03/13/html5-form-validation.aspx

Worth a read. I didn't see the link I was looking for but the above should point in some right directions anyway.

Richard


More information about the openjfx-dev mailing list