Form framework for legacy PHP