Using the Zip Code element
The Zip Code element is a masking widget used to display data in a typical 5 digit zip code format.
Select Zip Code under Element Properties on the left side of the screen. You will see a new element pop up on your device view.
Under Element Properties, the Mask field allows you to manipulate the structure in which you want your zip code number to appear. To make the information required in order to submit the form, scroll down and select Required under Element Properties.
Click the save icon at the top right corner of the page.