make form dynamic