on 3/8/99 11:32 AM, James Fox wrote... >Anyone any idea how to do this in Perl ? > >I have a name field, e-mail field, 2 radio buttons in my webpage (called A >and B) and 3 checkboxes (called X, Y and Z) >How can I do the following in perlscript? > >if X is checked, check that A or B is also checked >If YES if (($in{'x'} ne "") && ($in{'a_b_radios'} ne "")) { ... >send message to anyone@anyone.com : subscribe I <Name> with <email >address> in From: field >If NO elsif (($in{'x'} ne "") && ($in{'a_b_radios'} eq "")) { ... >Return message ãSorry, you must check the box to confirm that you >agree to the constitution before you can subscribe to any email >discussion listsä You should be getting the idea at this point. Scott ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org