Let me know what you came up with We should add this to the https://github.com/dereuromark/cakephp-shim plugin to ease migration of those forms from 2.x to 3.x in general. The IDs generated in 3.x are too collision-likely for me too.
Mark Am Mittwoch, 20. Mai 2015 13:39:35 UTC+2 schrieb gersonfs: > > Hello! > > Is there a way to use the input id attribute from CakePHP 2 in CakePHP 3? > Like define a custom method for generate id attribute value? Or better yet, > use the FormHelper 2.x version of CakePHP. > > CakePHP 3 break all my javascript files based on id attribute. I did not > see any observations on this change in migration guide at the Form Helper > session. > > I use CakePHP since the 0.x version, over 200 projects done, and never an > update has been so problematic. I hope this does not happen in the next > major releases. > > I completely understand that our ORM was outdated and it needed an upgrade > facing OO. It's also great to have PHP 5.4 features. Although updates have > affected 99% of my code: models and forms/javascript. > > Thanks! > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.