The “action” is usually server-side form processor. So for custom forms you would need to redirect to your own processing url. But when you use custom action, default webflow’s success and error messages wont work.
Here’s an AJAX version with webflow default action, which might help your case. How to: Use Ajax to submit forms with default actions after submit
Someone can correct me if im wrong.