create new tag
, view all tags

Bug: HTML in a select field's value causes probems with forms.

Forms select list not working with html values

Test case

Create a form on that is associated with a page. On the form, have one of the form's variables a 'select' field that lets you pick values from a defined list. For one of the value choices, use

to create an ampersand in the middle for a value choice like 'this & that' (look in raw mode). Make sure this choice is not the first item. Select this choice and save the topic. Go back into edit mode and the field will now be set to the first choice of the drop down list.


TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debin Sarge
Web server: Apache 1.3.33
Perl version: 5.8.4
Client OS: MS Windows 2000 latest service pack
Web Browser: Firefox 1.5

-- RickMach - 16 Dec 2005

Impact and Available Solutions

Follow up

Fix record


Topic revision: r1 - 2005-12-16 - RickMach
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.