Thanks you guys, wealth of information, web2py 4 life! On Monday, December 3, 2012, Anthony wrote:
> Note, CAT() is only needed when you need to keep a group of HTML elements > together inside an HTML helper object (e.g., for further manipulation) but > don't want any surrounding HTML tags. Because you're putting the OPTION's > inside a SELECT, there is no need for the CAT. > > Anthony > > On Monday, December 3, 2012 2:23:06 AM UTC-5, software.ted wrote: >> >> Hi, I have this unusual behavior of my code below, the options are >> being duplicated what could be the problem: >> >> #print SELECT(CAT([OPTION(s.name, _value=s.id) for s in >> db(db.file_subject).select()])**) >> >> <select> >> <option value="<option value="1">Information >> Technology</option><option value="2">Correspondance</**option>"> >> <option value="1">Information Technology</option> >> <option value="2">Correspondance</**option></option> >> </select> >> >> ...Teddy L. >> > -- > > > > -- ....................................................................................... Teddy Lubasi Nyambe Opensource Zambia Lusaka, ZAMBIA Cell: +260 97 7760473 website: http://www.opensource.org.zm ~/ Human Knowledge belongs to the world! - AntiTrust Man is a tool-using animal. Without tools he is nothing, with tools he is all - Thomas Carlyle 1795-1881 /~ --