14 Nov
2003
14 Nov
'03
7:29 p.m.
Max M wrote at 2003-11-13 18:01 +0100:
... <input type="hidden" name="teachers:list:default" value=""> ... <input type="checkbox" name="teachers:list" value="<dtml-var path>"<dtml-if selected> checked</dtml-if>> ... I have tracked the problem to the default value always being added to the "teachers" list.
You are right! You found a bug. The easiest way to reproduce it is as follows: showRequest: <html><body><dtml-var REQUEST></body></html> Visit the URL: "http://<yourZope>/showRequest?a:list:default=a&a:list=b". The result will be "form: a --> ['b','a']". Please file a bug report. -- Dieter