(formData, name)
| 1061 | } |
| 1062 | |
| 1063 | weeklyStatus.textContent = message; |
| 1064 | weeklyStatus.classList.toggle("is-success", kind === "success"); |
| 1065 | weeklyStatus.classList.toggle("is-error", kind === "error"); |
| 1066 | } |
| 1067 | |
| 1068 | function optionalValue(formData, name) { |
| 1069 | const value = String(formData.get(name) || "").trim(); |