I have a simple form in which I have 3 hidden fields, through which I am passing values to another page.
But I don\'t want anyone to see it through view page so
You can't. If you want to keep something secret from the visitor, don't give it to the visitor's browser.
Store the data on the server and send a token related to that data to the browser instead. Look the data up using the token when the browser submits it back.
You could use sessions for this (although beware of race conditions).