Front End User, Self Registration & Form Builder Escape ' on submission error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
atz6975
Forum Members
Forum Members
Posts: 34
Joined: Thu Jan 14, 2010 4:43 pm

Front End User, Self Registration & Form Builder Escape ' on submission error

Post by atz6975 »

Hi,
I'm facing a strange behaviour and I'm not sure what I'm doing wrong with my setup.
When I input a value containing a simple quote '  inside forms of these 3 modules (FEU, SRM, FBuilder) and I make a submission error (ie wrong captcha, forget a field...), the form reloads but all simple quote are converted to ' and mess up my values.

I believe this might have something to do with encoding/decoding.
In order to "fix" this behaviour I was hopping to use the php "urldecode" to "unscape" the values.
However only {$control->control} is available in templates (as far as I understand) and I {$control->control|urldecode} doesn't really works (normal).

Does anyone have an elegant way of solving this? Is this a bug?
Thank you.
Post Reply

Return to “CMSMS Core”