I am trying to create a two-page form where the second page is displayed only if a checkbox form field is checked.
I placed the code below in the HTML Footer field of the form, but when I enter the form data and click submit, nothing happens. Anybody have a suggestion?
<script type=\"text/javascript\">
function getDeps() {
if (document.getElementById(\"EditRecordDependent_Coverage\").checked)
{dependent_search
}
}
document.forms[0].onsubmit=getDeps;
</script>
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
sferraro
Hello:
I am trying to create a two-page form where the second page is displayed only if a checkbox form field is checked.
I placed the code below in the HTML Footer field of the form, but when I enter the form data and click submit, nothing happens. Anybody have a suggestion?
Thanks
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.