Announcement

Collapse
No announcement yet.

insert identification card format rut

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

  • insert identification card format rut

    Hi! I'm developer a form where I have a field for identification (Rut, chilean) but I want that insert the following 12321697-K and this is the format that I want 12.321.697-K and the save in data base, but It doesn't save this format when I use the mask.
    How I can insert this format in the database?


    And I've a validator of identification in javascript and I don't know how insert it in the field Rut.

    thanks

  • #2
    I'm not sure if I understand the question right but if you want to fire a validator on a field in scriptcase you can apply an ajax event to it and perform the test there. I always recommend to redo the test in the onvalidate event, just in case.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment

    Working...
    X