Get form input value

hi all im still new to fm7…how do i get the input value (text.value, radio value, select value ) on form…
and where should i place the code to access it…
thank you

Same as in any JavaScript app/website https://stackoverflow.com/questions/11563638/how-do-i-get-the-value-of-text-input-field-using-javascript