get submitted form on submit
-
So I have a form on a page, the same form is also called in a modal window. So I want to preform an action on_sent_ok. So in the Additional Settings tab I have on_sent_ok: ‘submittedFormAction();’ and in my scripts file I have:
function submittedFormAction() { // do something }
But I only want it to happen to the form that was submitted, not the other form. So if I submit the one on the page, I don’t want that action to happen to the one in the modal. I feel like there has to be a way to send something unique from the form that was submitted, but I just can’t find anything.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get submitted form on submit’ is closed to new replies.