I\'m fairly new to coding in HTML. After hours of searching the internet for a way to do this, I failed and so I\'m here. I was setting up a CSRF Proof of concept page here,
For anyone else having the same problem, I figured it out myself.
All I had to do was add the target="_blank" attribute to inline on form to open the response in a new page and redirect the other page using onclick on the submit button.