shawnmcginn
Member
I want to disable the submit button in a multi-page form so that it only appears on the last page. I assume I can do something like
if(document.getElementById('page_3').disabled || $('#page_3:hidden').length == 0)
then display the button
else hide the button
But where is the best place to do this? Where is the JS that is executed on each page load in a multi-page form?
Thanks!
Shawn
if(document.getElementById('page_3').disabled || $('#page_3:hidden').length == 0)
then display the button
else hide the button
But where is the best place to do this? Where is the JS that is executed on each page load in a multi-page form?
Thanks!
Shawn