The if statement below does not seem to work as expected// Given in the HTML: <select name="message type"> <option value="0">Choose type message</option> <option value="Comment">Comment about a recent performance or recording</option> <option value="Booking inquiry">Concert or Event Booking inquiry</option> <option value="Personal message">Personal message</option> </select>
and in the perl: #!/usr/local/bin/perl use CGI qw/:standard/; use strict; #and other stuff... my $mt = param('message type'); if (length($mt) == 0) { print redirect("/pages/error.html"); exit; } This should only redirect it someone has not made a 'selection' .... what am I missing? Thanks! Dave (kora musician / audiophile / webmaster @ www.coraconnection.com / Ft. Worth, TX, USA) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>