in reply to How do I select an option according to a specified value in HTML::Template::Pro?
I think I might check if id was the current_key in my code and set a param to true or false as required.
<TMPL_LOOP NAME="provinceloop"> <option value = "<TMPL_VAR NAME = "id">" selected = "<TMPL_VAR NAME = "current_key"> > <TMPL_VAR NAME="name"> </option> </TMPL_LOOP>
|
---|
In Section
Seekers of Perl Wisdom