willisoften Posted October 22, 2003 Report Share Posted October 22, 2003 print header,start_html("Modules"); print start_form({action=>'http://localhost/cgi-bin/p4q2b.cgi'}); @modules=("Development","Networks ","Professional Issues"); for($item = 0; $item<$#modules+1;$item++){ print "<input type ="radio" name ="module" value =$item>",$modules[$item] ,br; } Should be easy but Im tearing my hair out! This is a simple form consisting of radio buttons posting information to a perl/cgi script which does a little processing. Picka a codenumber from another array which corresponds to the selected module. I'd like to pass @modules to the other script so that I could display code and title at the same time. So how do I pass a list between scripts I've already tried a hidden field but either I'm doing something wrong (very probably) or it just doesn't work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.