The ca_postcode_fsa question type accepts three character responses that match to a known forward sortation area (FSA) in Canada.
1. What's the first half of your postal code?
type: ca_postcode_fsa
Details
-
ca_postcode_fsa
creates a text input field that accepts responses in the format "[letter][digit][letter]". - When
ca_postcode_fsa
is used, hidden variables are automatically generated and filled with data corresponding to the province and region. - To create these hidden variables, the FSA code is "looked up" in system sheets as specified in the table below.
- The variables generated are placed in the same chapter as the parent question. Include the
chapter
tag to change its location. - A question using
ca_postcode_fsa
does not require amaxlength
tag or additional validations; these are built into the question type.
Auto-generated FSA variables
Below are the variables created and the system sheets used to auto-populate the province and region data, based on question Q1.
Variable | Description | System sheet name |
Q1_PROV | The province or territory. For Ontario and Quebec, the first character further identifies a particular part of the province. | system.ca_postcode_province |
Q1_REG | The region — West, Ontario, Quebec, Atlantic, North. | system.ca_postcode_region |
Comments
0 comments
Please sign in to leave a comment.