Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I used the "Finish" button id and that did not work. If I go with your other option then How would I delete SP built in "Finish" button? It's not in newform.aspx or editform.aspx. May in the some control template? If I delete the finish button then how would I tie the same events on this new button and add redirect to it.
Actually, onclick has to run it's intended function (in this case, submit the survey which creates record in the survey list). How do I let the onclick run it's original function and add additional function?
I think I am overwritting and intended onclick function for "Finish" button. I may want to add to existing funcion. How do I tell java that let it do it's native job and additional functionality to the "Finish" button.
This works but it broke the addition to Survey List. inputcCtrls[m].onclick = function () { window.parent.location = "surveys/Pages/SurveyWirelessThankYou.aspx"; window.close();};