Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > GUI Development
  New Posts New Posts RSS Feed - validate of zipcode field
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum Lockedvalidate of zipcode field

 Post Reply Post Reply
Author
Message
bwelch View Drop Down
Newbie
Newbie
Avatar

Joined: April 30 2010
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote bwelch Quote  Post ReplyReply Direct Link To This Post Topic: validate of zipcode field
    Posted: September 29 2016 at 3:29pm
I have a lots of forms that include zip code fields.
In the gui designer, I have these field's "data type" set to zip code. In the Events, I have the validate setting checked. This enforces zip code data integrity to U.S. 5 or 9 digit zip codes just fine.
However, not so much for Canadian zip codes.
Is there a config that allows the zip code datatype field to also allow the 6char Canadian format?
thanks
Bob
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: October 03 2016 at 10:06am
Hi Bob -

I checked the data validation code in AccuTerm GUI, and for zip-code data types, the validation simply looks for US 5 or 9 digit zips, using simple pattern match. No provision is included for other formats.

Sorry,

Pete

Back to Top
bwelch View Drop Down
Newbie
Newbie
Avatar

Joined: April 30 2010
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote bwelch Quote  Post ReplyReply Direct Link To This Post Posted: October 03 2016 at 10:12am
It was worth a shot. Thanks anyway.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.