Multiple Submit buttons redirecting to different URLs

Help. I’m trying to create a form with multiple submit buttons. Each button should go to a different url. Currently, webflow only allows one redirect url per form so it applies the same action to all the submit buttons. Is there a custom code for this?

Thanks.