How to submit the form offline