Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
validates_format_of :zipcode
misiek
3/17/2006 6:46:00 PM
how can I set the validation of the zipcode ?
1 Answer
Jon Mr
3/17/2006 8:05:00 PM
0
you'll want to try a regexp. look here for the code
http://regexlib.com/DisplayPatterns.aspx?cattabindex=6&ca...
it's in there somewhere...
hope this helps
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
validates_format_of :zipcode
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password