stealth input fields

Not sure why we are putting a global variable here, can you add a comment explaining it. Also make it a better name if necessary.