Generate hidden form fields from current values