cakephp/cakephp — pull request #463 by tPl0ch (2012-02-05 15:33:06+00:00)
Title: Added support for 'on' validation key in FormHelper. Fixes #2196.

I added a protected method FormHelper::_isRequiredForOnKey($validateProp) to check if a field is required depending on the 'on' key and the currently set requestType ('post' for 'create', 'put' for 'update').