Bug fix for form helper
Permalink
The standard form helper has a bug in that it doesn't correctly handle two-character IDs (such as 'xm' or 'cs' or the like).
Line 311, which currently reads:
Should be changed to:
Then it will work.
On a related note, I have a blog post about an expansion of the standard form helper.
Check it out if interested.
http://www.onehat.com/blog/2010/08/concrete5-mod-form-helper-tweaks...
Scott
Line 311, which currently reads:
Should be changed to:
if (preg_match('/\[\]$/', $key)) {
Then it will work.
On a related note, I have a blog post about an expansion of the standard form helper.
Check it out if interested.
http://www.onehat.com/blog/2010/08/concrete5-mod-form-helper-tweaks...
Scott