Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Steps to reproduce
1. Add a form with a field type of DropDownList.
2. Set the prevalue type to standard.
3. Add an item with a special character such as & or <.
Problem
When viewing a page that contains the form, items in the DropDownList are double-encoded. E.g. "this & that" becomes "this & that".
Am I doing something wrong or is this a bug?
I can work around it for now by creating a custom field type that escapes the prevalue.
Thanks for reporting this, it definitely sounds like a bug. I'll log this in our issue tracker and hopefully it will be gone in the next maintenance release.
/tim
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
HTML encoding issue with DropDownList and standard prevalue type
Steps to reproduce
1. Add a form with a field type of DropDownList.
2. Set the prevalue type to standard.
3. Add an item with a special character such as & or <.
Problem
When viewing a page that contains the form, items in the DropDownList are double-encoded. E.g. "this & that" becomes "this & that".
Am I doing something wrong or is this a bug?
I can work around it for now by creating a custom field type that escapes the prevalue.
Thanks for reporting this, it definitely sounds like a bug. I'll log this in our issue tracker and hopefully it will be gone in the next maintenance release.
/tim
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.