set hidden input fields for data submission