How can I automatically make a form generate a new one?