I'm confused... to LOOK at those lines of code, it would appear that
the only time it should show up is if the Country is US/CA, and the
postal field is empty.
Why would you want to comment those out? I haven't looked at the REST
of the surrounding code, admittedly, but I would suspect that this
code is just not working right, isn't it?
*confused look*
D
At 12:19 PM -0400 7/22/00, Charles Daminato wrote:
>You can comment out these lines:
>
> if ($data->{"${type}_country"} =~ /^(us|ca)$/i and not
>$data->{"${type}_postal_code"}) {
> push @missing_fields, "$contact_types{$type} Postal Code";
> }
>
>They are at lines 335-337 in Client.pm
>
>Good luck!
>
>Charles Daminato
>OpenSRS Support Manager
>[EMAIL PROTECTED]
>
>On Sat, 22 Jul 2000, adam beecher wrote:
>
>> Could someone tell me how I can turn off the required field
>>"Postal Code". There
>> is no option to turn it off in Client.pm, which I presume is the
>>replacement for
> > OpenSRS.pl. Postcodes are not required in my country (Ireland).
> >
> > Thanks,
> > adam
> >
> >