This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Looking for suggestions on how to force (customer id number) verification  RSS feed

 
K DeLucia
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm writing an application where I have a requirement to have a user enter an ID# twice as verification. Ideally, I'd like them to not be able to copy and paste from one field to the other since that sort of defeats the whole purpose of having them key it twice.

I started out setting the field as a password field: <input type="password" name="idno">

However, I can't seem to pull this value back to my java code via a java bean. I'm getting a null value returned and I'm assuming it's because I can't just pull back a password field that way.

Ideally, I want to force the user to key the number in twice, without copying and pasting the value and ideally without adding a lot of annoying clicks to their process.

Any suggestions or ideas are welcome! Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K DeLucia wrote:However, I can't seem to pull this value back to my java code via a java bean. I'm getting a null value returned and I'm assuming it's because I can't just pull back a password field that way.

Password fields are not different than text fields with regards to being submitted to the server. The problem lies elsewhere.
 
K DeLucia
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for responding. I have it working now. Just a stupid coding error on my end. ;-)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!