Refactored confirm_password, required and wysiwyg.