If there is another way to do this, please advise.
I have a form where the action is set to
Below the form is a list of items with an edit button next to each. When the edit button is clicked the data is sent to the form and the action is changed to
The problem is if the form has errors and redirects the action is reset to
Is there a way to ensure the action retains the update path on a redirect due to failed validation?