what to do in order to make the form remember the previous input or the current input of the user even after he/she refreshed the page ?
should I do ,
None of your suggestions will help you "remember" data after a refresh (action that not send data to the server). What you need is to grab data via javascript (maybe with onkeyup events type) and grab it using cookies. With jquery is very easy.