Preparing auto-submit forms