adding form_cap_type and opt_in hidden fields into form