Form type code snippets