• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding validation of field

 
surya.raaj prakash
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I have one requirement please help me,I have developed one page,it has one field postal code,but this field takes data format like(ex:12345),but my requirement is to take the data format likes 12345-1234 and 1234(it will accept both formats).
 
Campbell Ritchie
Sheriff
Posts: 48381
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds like something you can easily design a regular expression for.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic