I didn't see anyone reply, so I am guessing no one has. It has been my expierence writting scripts to do this:
$cust_name = param('custname'); $cust_phone = param('custphone'); Of course, the custname, and the custphone are being passed to my cgi script thru the form. I.E: <FORM method="post" name="index.cgi"> <input type="text" name="custname" value="ENTER YOU NAME"> <input type="text" name="custphone" value="Enter Your Phone"> </FORM> -Brian > Here the doubt, > > I have a Form with some radio and checkbox groups in it. when > the user fillout the form and then hit the Submit button a perl > program is invoke depending on how the user fill. if i want to > know all of the field names and values that have the form i do > this: > > foreach my $name (param) > { > print "$name - " . param[$name]; > } > > that's OK and I got a list of all the name and values if the > user complete the form but if the user didn't complete it the > param($name) didn't retrive any. The foreach loop didn't print > anything if the user hit the Submit button without fill > anything. I want to my program print all the names of the form > if the user fill it or if he didn't. > > I tyr this: > > $name = param("name") || ""; > > but it doesn't > work. > > --------------------------------------------- > This message was sent using PRT Internet Web Based Mail Client. > http://www.prtc.net/ > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]