Streaming live at 10am (PST)

Postal Code Validation

Searched around Webflow forums already but no luck.
Does anyone know a way to implement js or jquery to validate if the input field is a valid postal code?

Also side note for emails we are allowed to enter example@example and this is a valid email as well.

Your help is appreciated!


  1. Input Settings
  2. Make Required
  3. Under Custom attributes we are going to add two attributes

minlength = 6
pattern = [a-zA-Z][0-9][a-zA-Z](-| |)[0-9][a-zA-Z][0-9]

Note this is for the Canadian Postal Code