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 send message to anyone@anyone.com : subscribe I <Name> with <email address> in From: field If NO 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ä if Y is checked , check that A or B is also checked If YES send message to anyone@anyone.com : subscribe ii <Name> with <email address> in From: field If NO 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ä if 3 is checked, check that B is also checked If YES send message to anyone@anyone.com: subscribe iii <Name> with <email address> in From: field If NO Return message, ãSorry, you must check the box to confirm that you have read this before you can subscribe to email discussion listsä Any ideas would be good. regards James ---------------------------------- James Fox - James@djassociates.com ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org