On Wed, Mar 16, 2005 at 07:15:08PM -0800, Rama Srinivas wrote: > Hello all, > > Thanks for the feed back. > > I had to specifically mention CHECKED="CHECKED" in the if statement to make > it work. > Simply by saying CHECKED alone (though a valid html attribute) does not seem > to work.
That's actually not a function of HTML::Template, it's a function of the browser. I seem to recall I noticed something like this with IE, whereas Mozilla worked better, but I could have it backwards. > Basically to be more clear I tried doing this first > <input type="radio" name="beepStatus" value="yes" <tmpl_if > yesBeeps>cheecked</tmpl_if> it did not work. > > but by doing this it worked > > <input type="radio" name="beepStatus" value="yes" <tmpl_if > yesBeeps>cheecked="checked"</tmpl_if> worked out well. > > I am guessing the html template engine must be looking for some name-value > pairs and just by seeing a single value with out a matching name would have > rejected interpreting it. Just for future reference, H::T doesn't snoop the values that way. For all it cares, it could say "Pastrami!" -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] Tiki Technologies Lead Programmer/Software Architect "I'm gonna tell my son to grow up pretty as the grass is green And whip-smart as the English Channel's wide..." -- 'Whip-Smart', Liz Phair ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users