How to save locally the form submission without using the internet