Announcement

Collapse
No announcement yet.

Save dashes in field to databse

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Save dashes in field to databse

    Hi guys,

    I have a field with a validation mask on it and I'd like to save the data with the hyphens/dashes. Basically a user enters a number as 12312341234 and it shows up as 123-1234-1234. Right now it saves without the dashed but I also need to store them, so the saved value should be 123-1234-1234. I know I shouldn't but this scenario demands it.

    Any help would be greatly appreciated.

    Thanks in advance.
Working...
X