JSFiddle - React, Tailwind, and code Playground
HTML
<form name="formName" action="/">
<input type="text" name="Discussion/input" value="text"><br>
<textarea name="txa" onKeyUp="checkForm()" onBlur="checkForm()"></textarea><br>
<input type="submit" name="send" value="Submit">
</form>
JavaScript
alert(document.formName['Discussion/input'].value)