clickable scrolling list 
Author Message
 clickable scrolling list

I am trying to make a clickable scrolling list. I have two forms on my page
and I want the second form when you click on one of the VALUES to fill in
the - textfield('name') -space in the first form. Is that possible?

        start_form,
        "The name of the game you wish to play is: ",textfield('name'),
                    submit,
                  end_form,
p,
        start_form,
            scrolling_list(-NAME  =>'listofgames',
                   -VALUES=>["red","EnglishToItalian","blue","chartreuse" ],
                    -LABELS => {
                                    red => param('name'),
                                    green => 'g',
                                    blue => 'b',
                                    chartreuse => 'c'},
                     -size  =>2,
                     -multiple=>0,
                                    ),
                                submit,
                                end_form,

Thanks,
~arthur



Wed, 18 Jun 1902 08:00:00 GMT  
 clickable scrolling list


Quote:

> I am trying to make a clickable scrolling list. I have two forms on my
> page and I want the second form when you click on one of the VALUES to
> fill in the - textfield('name') -space in the first form. Is that
> possible?

Yes, but not through Perl or HTML.  You'll need to learn about
JavaScript.  If you'd like to see a function like that, go out to
www.geocities.com, get an account, post an HTML file, then use the
geocities utilities to add a counter to the page.  On the counter setup
page, they have some (I assume, I haven't actually looked at the source)
JavaScript that populates other parts of a form based on previous
clicks.

HTH,
amonotod

--


  ooO_(_)_Ooo________________________________
  _____|_____|_____|_____|_____|_____|_____|_____|

Sent via Deja.com http://www.deja.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. CGI.pm: scrolling list w/o quoting

2. cgi.pm scrolling list question

3. Scrolling Lists using CGI.pm

4. CGI.pm and scrolling lists?

5. scrolling list question (newbie)

6. Using cgi.pm's scrolling list

7. : Problems with multiple in scrolling list and group of checkboxes

8. cgi.pm and scrolling lists

9. Scrolling list

10. Scrolled List of Widgets

11. extra r parameter in scrolled list box

12. Implementing a windows like pulldown scrolled list box

 

 
Powered by phpBB® Forum Software