I have a quick question, I have multiple forms – but want to send them all to the same function, is there any way using js that i can figure out which form was submitted?
No need to use js for that. If only one form field in every form having a value has a unique name (or even just a unique value if the names have to be all the same for some reason), you can identify the submitted form by the field's name passed to the script processing the data.