how to make some of the fields to hide for data security..

Hiding form fields doesn't really help improve security. However to create a hidden field, simply use the hidden type attribute:

<input type="hidden" ... />

If you want to secure the form field values during the transmission from the browser to the server you can use HTTPS.

This article has been dead for over six months. Start a new discussion instead.