Hello. The sfPokaYokePlugin will generate a javascript error when a form element has a parent. In my case, there is a field who's name is catch_code and it's parent catchinf. The id of the element will be catchinf_catch_code and name catchinf[catch_code].
In the initialize method of Prototype.PokeYoke class, at line 10 we see this code: var pkykField = document.getElementsByName(i)[0]; However, the i value os catch_code when it should be catchinf[catch_code]. Thus the value of pkykField is 'undefined' and the rest of the calls will fail (registerFieldBlur, registerFormSubmit) There is an other problem with the javascript the plug-in generates. If the required attribute is set to true but no 'msg' attribute is defined then the javascript which configures the rules applied to the form fields would be: required: 1,required_msg: , other thing... which causes a js error --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---