Reusing server actions on different pages

When I created a server action, I originally linked it to a form/page and got the post fields from the form/page. Can I resuse the server action on another new page if the new page has the same form field names or is the server action linked to the original page only? Does that make sense?


Yes. The linking to the page is used for development purposes only, matching the $_POST values is what is important.

1 Like

thanks. most helpful.