Don't forget htmlentities, if you have to use an action form attribute and you're using php_self with it, as in action="<?php echo htmlentities($_SERVER['PHP_SELF'])?>".
Inputs nested in labels. Use this as a standalone page, or cut and paste just the form into your page. Change the form "id= " to one of the form types listed in the forms_orig.css file.