Making the form dynamic