Skip to content

Commit

Permalink
Add debug console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tramcrazy authored Mar 6, 2024
1 parent ce3c890 commit b485bd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/thanks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
formName = localStorage.getItem("completedForm");
console.log("form name: " + formName);
document.title = formName + " | TramForms";
document.getElementById("formName").innerHTML = formName;
document.getElementById("thanksText").innerHTML = "Thanks for completing " + formName + " on TramForms. The submission was successful!";

0 comments on commit b485bd5

Please sign in to comment.