Skip to content

Commit

Permalink
UHM-6136: View/Edit page for saved forms (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
mogoodrich committed Mar 3, 2022
1 parent 7911211 commit 4cd91ac
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions configuration/pih/htmlforms/peds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,6 @@
disableAgeInput(jq(this));
});

// handle our custom functionality for triggering going to the next section when the "Next" button is clicked
jq('#next').click(function() {
window.htmlForm.getBeforeSubmit().push(function () {
window.htmlForm.setReturnUrl(window.htmlForm.getReturnUrl() + "&goToNextSection=pihcore-peds");
return true;
});

window.htmlForm.submitHtmlForm();
})

jq('#submit').click(function() {
window.htmlForm.submitHtmlForm();
})

enableAgeEntries();
});
</script>
Expand Down Expand Up @@ -341,4 +327,4 @@
</div>
</ifMode>

</htmlform>
</htmlform>

0 comments on commit 4cd91ac

Please sign in to comment.