Improved Error Handling in Htmlform!