Form type to HTML, stripped old PHP