Re: [htmltmpl] Select/option How to set "selected"?
Brought to you by:
samtregar
From: Sam T. <sa...@tr...> - 2004-05-04 03:46:20
|
On Mon, 3 May 2004, Mark Fuller wrote: > How can I specify a row should be "selected"? The TMPL_VAR named "VAL" is a > numeric index. If I could use TMPL_IF and concatenate the value of "VAL", I > think it would work. I just use CGI.pm's popup_menu(). I find that it's pretty rare for HTML designers to need to do something to the form tags themselves so I usually let CGI.pm to do the hard work for me. You certainly can accomplish this with HTML::Template, but I don't think you're going to like the look of what it takes! -sam |