Generally, when doing dynamic select boxes, I just make the first (default) entry the dynamic one, then do the whole list below that. It does mean that the one you want to be the default is listed twice (once at the top and once in the list), but no one seems to mind much...

Jaclyn

On Wednesday, April 2, 2003, at 06:04 PM, Tim Howell wrote:

This isn't strictly a CGI::App question, but I know that a lot of us are
using HTML::Template, so here goes: is there a good way to set the
initial value in an HTML select using HTML::Template parameters? I've
got a select with 100 options (integers 0-100), and I'm looking for a
simple way to populate it from the DB that's driving this app.


Ideas?

Thanks! =)

--TWH


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to