Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Form title encoding


Go to End


2 Posts   1625 Views

Avatar
Aperage

Community Member, 6 Posts

22 January 2010 at 4:28am

Hi,

I got a problem with one of my form. I got a multilingual site with french, english and spanish with a search form on the home page.

the problem is when i put any special caracters in the title, my special caracters appear as unrecognized on the web page and if i encode them with &eacute, the & become an & and dont appear as wished

Any idea how to fix this?

Avatar
zenmonkey

Community Member, 545 Posts

24 January 2010 at 9:57am

You may need to change your Title to be a HTMLText/HTMLVarchar field instead of just Text/Varchar so it will escape the HTML elements properly