Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: (jeffa) Re: Sticky Forms with HTML::Template

by seattlejohn (Deacon)
on Dec 28, 2002 at 19:55 UTC ( [id://222781]=note: print w/replies, xml ) Need Help??


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)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://222781]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-19 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found