Automatically submit the form after a period of time