• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for responding. I have it working now. Just a stupid coding error on my end. ;-)
reply
    Bookmark Topic Watch Topic
  • New Topic