Hi everyone.
I created a rule to validate postal codes by country (below an example), working fine but instead of add more than 250 rows one by one is possible to create a table into Info Steward and related this table on rule script syntax?
BEGIN
IF ($PostCode IS NOT NULL)
RETURN
(upper($Country) ='NL' AND (match_pattern($PostCode, '9999 XX' )) OR
upper( $Country) ='CA' AND match_pattern($PostCode, 'X9X 9X9' ));
ELSE
RETURN FALSE;
END
Thank you.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.