Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

[solved] limit of silvertripe


Reply

19 Posts   2279 Views

Avatar
astate

1 April 2009 at 2:58pm (Last edited: 1 April 2009 2:58pm), Community Member, 35 Posts

Big thanks !!! Its work now...
I go promote Silverstripe !

Avatar
UncleCheese

2 April 2009 at 3:41am 4085 Posts

De rien!

Avatar
astate

3 April 2009 at 6:45am Community Member, 35 Posts

I have change this :
if(is_numeric($zip))

for this :
if(!empty($zip) || $zip != " ")

Because the zip in canada is like this. A2A 2A2
( letter number letter space number letter number )

the empty search work but when i enter a space it's dont work like i want.

this code dont work ? $zip != " "