Hi, I have the following script:

First page asks for course(chosen from an array).
print p("Velg arrangement: ", popup_menu("arrangement", \@arrangement));

When this is selected, the user hits a submit button and is taken to the
second page. Here it says how many users are all ready signed up for that
course. He can here enter his name and email to sign up for the course.
print p("Valgt arrangement: $registrerte");
print p("Navn: ", textfield("navn", "Ola Nordmann"));
print p("Email: ", textfield("email", "olaN\@nuug.no"));
print p(hidden("arr", "$registrerte")); #### Notice this!

I am also trying in this second page to pass the course selected from the 1
page, to my third page. As this param is needed there as well.
After the user hits submit on the second page, he is supposed to get to a
third page, that processes his choices.
my $hvem = param("navn"); ## Get's the value
my $email = param("email"); ## Get's the value
my $register = param("arr"); ## Undef :(

But, it always fails because $register is undef.
So, my problem is: How can I pass the param "arrangement" from the first
page, to my next pages. Each page is called as a sub.

Tor


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to