Edwin Gustafson wrote:
Greetings,
Replying to my own message, to prompt a repsonse: am I right that there's no whole-form, cross-field custom validator mechanism in Intake?
Edwin Gustafson wrote:
I haven't posted here in a couple of years, just upgraded my application to Turbine 2.3.1 and enjoying the difference from Turbine 2.1.
One thing I haven't found, in the updated Intake, is a way to create custom validation rules based on the values of multiple fields. I'd like to give the user a form where they have to complete one or the other of two sets of fields. There is a provision now for a custom validation rule based for a single field, but no sign of a system for doing cross-field or whole-form validation. Any way to do this?
Edwin,
I have not looked at Intake for a long time, so I cannot comment on it.
However, I wrote an extention for turbine 2.3/2.4 which I have called turbine-review and which, regrettably is not yet published in the turbine cvs. However, a jar file and it's use are demonstrated in the turbine example application at http://zebra.berlios.de/antelope/GettingStarted.html
turbine-review does allow exactly what you are describing, the building of custom validators which have access to all the submitted form values for use in the validation process.
If you are interested and email me off list, I will send you a draft pdf users guide.
-- Regards,
Peter ---------------------------- Peter Courcoux Telephone +44 (0)1923 661488 Mobile 07880 605626 ----------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
