Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.3

Bug #12166 not allowed to use a form name with dash ("-")
Submitted: 2007-10-01 18:32 UTC
From: jonez Assigned: wiesemann
Status: Closed Package: HTML_QuickForm_DHTMLRulesTableless (version 0.3.2)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-10-01 18:32 UTC] jonez (Jeff MacDonald)
Description: ------------ using a dash in the form name (first param of constructor) will generate invalid javascript. Test script: --------------- /* this will cause a syntax error in the javascript */ $form = new HTML_QuickForm_DHTMLRulesTableless("tubedev-profile", null, null, null, null, true); /* this will *not* cause an issue with the javascript */ $form = new HTML_QuickForm_DHTMLRulesTableless("tubedevprofile", null, null, null, null, true);

Comments

 [2007-10-02 21:36 UTC] wiesemann (Mark Wiesemann)
Thanks for the report. I'll take care of this in the next days.
 [2007-10-24 20:38 UTC] wiesemann (Mark Wiesemann)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.