Select to view content in your preferred language

Post Code Restriction

455
1
06-27-2018 02:35 AM
CraigMcIntyre1
New Contributor II

Hello,

I am looking to create a survey question that restricts postcode entry. 

When inputting the answer it must begin with 'PA' - any other answer should be rejected.

Survey123 for ArcGIS

0 Kudos
1 Reply
DeonLengton
Esri Contributor

You can add a constraint to a text field:

constraintconstraint_message
.>"PA-" and .<"PA-9999"Invalid code

You will just have to adjust the numeric check (9999) to your requirements