How to auto submit form without using Submit button?