I am processing forms using CGI for Perl using UNIX ,
1. how can I validate a data entered in the form for a valid data?
2. How can I check if a selection has been made
Sex :<select size="1" name"sex">
<option selected>Please select sex </option>
How can I check if an option is been selected when submitting the form ?
When the user enter the address
222 Highland Road
How can I store the address in my text files as it appear
above and not in one single line ?