How do I change a form\'s action attribute right after clicking the submit button?
Or you can modify it from outside the form, with javascript the normal way:
document.getElementById('form_id').action = 'somethingelse';