If you want to use the form field as a hidden field into the form you can use this. $(document).ready(function(){ $('#std_name').val(''); $('#std_name_label').hide(); $('#std_name').hide(); $('<input>', { type: 'hidden', id: 'std_name', name: 'std_name', value: '' }).appendTo('form'); }); At any event, you can set the value that will behave life form field.