it really depends on your FormMail.pl script. does it have any requirements? Does it require any of the form elements have a specific name?
To troubleshot the display issue, I will need to see the page in a browser, it is impossible to say what is wrong with out seeing the problem in context.