const hiddenField = document.querySelector('input[name="Result"]'); if (hiddenField) hiddenField.value = resultText;
Made on
Tilda