form helper for home page inputs