http://qs1969.pair.com?node_id=222781


in reply to (jeffa) Re: Sticky Forms with HTML::Template
in thread Sticky Forms with HTML::Template

I looked at associate, but I couldn't think of a straightforward way to make it work with things like multi-select list boxes.

        $perlmonks{seattlejohn} = 'John Clyman';

  • Comment on Re: (jeffa) Re: Sticky Forms with HTML::Template

Replies are listed 'Best First'.
(jeffa) 3Re: Sticky Forms with HTML::Template
by jeffa (Bishop) on Dec 28, 2002 at 20:04 UTC
    Yes, you are correct about select boxes - read samtregar's HTML::Template FAQ number 11 and you will see that your method is actually quite sound (he recommends using CGI.pm - see Re: TMPL_LOOP within a TMPL_LOOP). Perhaps a combination of associate and CGI.pm's popup_menu() and scrolling_list() would make for an elegant solution. Cheers :)

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)