Need to exclude specific characters from being entered

  • Profile Image
    Asked on March 17, 2019 at 03:03 PM

    I have created a form where I have a question called "Postal Code". 

    I have applied an input mask of "@#@ #@#". Good so far.

    However, Postal Codes can not include the letters D, F, I, O, Q or U.

    And the first position does not make use of the letters W or Z.  

    Is there a way I can prevent someone from entering these letters?



  • Profile Image
    Answered on March 17, 2019 at 03:42 PM

    Hello Peter, 

    I can suggest to apply some conditional logic to check the input. 

    For example, you can add a text element to the form to indicate an error:

    Then, a condition can check the input this way:

    Condition could hide Submit button at same time, so a user could not submit a form with incorrect value.

    Hope this helps! But, please get back to us if you need further assistance. 

  • Profile Image
    Answered on March 17, 2019 at 04:12 PM

    That is absolutely awesome Victoria!

    Thanks so much for the quick response!