can InputMask be made to output un-masked data?

UI Components for JSF
Post Reply
MikeCWpg
Posts: 14
Joined: 03 Apr 2013, 23:29

11 Apr 2013, 23:56

I'm using an inputmask component to help/enforce people entering phone numbers correctly. So on the page, it will show as (111) 222-3333, but I want my database to store 1112223333 (and right now it's storing the formatted version).

Is there a way to retrieve the unformatted/unmasked data?
PrimeFaces 4.0.4 / Mojarra 2.1.26 / Tomcat 7.0.30 / Java 7
PrimeFaces 5.0 / Mojarra 2.2.6 / Tomcat 7.0.30 / Java 8

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 86 guests