I'm trying to save the data of fields in simple vars. I only need the input values
<input type="text" id="login_email" class="large" name="login_email" value="">
<input type="submit" name="submit.x" value="Entrar" class="btn large">
How can I get data of login_email box and save it into a var?
Edit: The problem: the elementid "login_email" is static. I need some that when the user types the text the code captures it and save it into a var.