Hey,
I've some problems with form validation. It's specific to my use-case:
1. an edit form is build with all possible fields with their validators. E.g.
field productReference which is required when shown
2. on setting the model for this edit form, the application takes care of
setting the visibility of the fields: if field in model then field is 'visible'
else field is 'excluded'
Suppose a field that is marked required becomes excluded then a user will not
be able to ever get the form submitted.
There surely are ways to bypass this scenario, but maybe it's nice to support
it by adding a visibility-check for fields in the validate function of
qx.ui.form.validation.Manager.
I still can imagine that it might be useful to have a validation on hidden
items. I can think of a scenario where some visible input fields fill a non
visible input field and you still want to run the validation on that hidden
field. So I don't think that this i a general pattern we should / could add to
the frameworks code base.
Regards,
Martin
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel