Sending opt-ins to different thank you pages based on tags?

Can you elaborate on this? How can you dynamically change the value of one custom field by what option they chose in another custom field (right there and then in that form, not by using an automation).