How can I control the length of the form?