This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Chaning action on submit button for 2 forms
Started 12 years ago by tmparisi | 1 post |
-
When the submit button is clicked on the review page of a form I would like to start a specific function on the parent page of the iFrame. Does anyone know where in the machform code I could put my code to do this?
<form name="input" onsubmit="window.parent.showName(document.getElementById('formEmail').value);" action="iframePage.php" method="post">
'showName' is the name of the function on my parent page and 'formName' will need to be changed to the appropriate machform variable for the email field. 'iframePage.php' also needs to be changed to be relavant to the machform specific link, depending on their syntax.
My main concern is that it only acticates for say form #2 and 8... given there are many other active forms.
Any ideas?
Posted 12 years ago #
Reply
You must log in to post.