Widget:YieldCalc: Difference between revisions
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
let foodYieldForm = document.getElementById("foodYieldForm"); | let foodYieldForm = document.getElementById("foodYieldForm"); | ||
loginForm.addEventListener("submit", (e) => { | |||
e.preventDefault(); | |||
// handle submit | |||
}); | |||
Revision as of 21:45, 24 October 2024
This widget is used to display and calculate the yield with the values submitted by the user.
Usage: {{#Widget:YieldCalc}}