Set both as hidden fields. Make certain the {referer} is set / checkbox checked to Allow Field to be populated dynamically