Re: Newforms error question

2007-11-28 Thread Ryan K
On Nov 28, 10:40 am, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > On Nov 28, 2007 10:12 AM, Ryan K <[EMAIL PROTECTED]> wrote: > > > I have a basic registration form for my site that has fields for a > > postal code, state and a country. Since our site caters to > > international users, I only want

Re: Newforms error question

2007-11-28 Thread Marty Alchin
On Nov 28, 2007 10:12 AM, Ryan K <[EMAIL PROTECTED]> wrote: > I have a basic registration form for my site that has fields for a > postal code, state and a country. Since our site caters to > international users, I only want to require a state and postal code > only if the country is the United St

Re: Newforms error question

2007-11-28 Thread Malcolm Tredinnick
On Wed, 2007-11-28 at 07:12 -0800, Ryan K wrote: > I have a basic registration form for my site that has fields for a > postal code, state and a country. Since our site caters to > international users, I only want to require a state and postal code > only if the country is the United States. I ha

Newforms error question

2007-11-28 Thread Ryan K
I have a basic registration form for my site that has fields for a postal code, state and a country. Since our site caters to international users, I only want to require a state and postal code only if the country is the United States. I have a clean_country method in my form that raises a Validat