2 Replies Latest reply on Mar 3, 2014 11:53 AM by 43922

    Anyone know how to limit 2.0 form inputs to only allow English Characters?

      Would love to hear people's input! Was thinking about using mask input, but isn't that just limiting the structure of the input? Would it work for like a First Name field or a Job title field? 

      Thanks!
        • Re: Anyone know how to limit 2.0 form inputs to only allow English Characters?
          Justin Cooperman
          Since your scenario is pretty straightforward, mask input woud definitely work. The number of letter wildcards you use would just equal the length of the field.
          • Re: Anyone know how to limit 2.0 form inputs to only allow English Characters?
            Justin definitely had the right idea on the above, but wanted to make a couple of clarifications.
            1.           Input mask does, by default, limit you to entering only English characters if the alpha character wildcard (specifically "a") is used
            2.           However, because input masking also sets an exact constraint on the number of charactrs that must be entered, it's not necessarily ideal for a First Name or Job Title field, which would inherently have users entering different numbers of characters           
              1.                     Example: If you set the wildcard in the input mask as "aaaaa" (5 a's), for the "First Name" field, unless a user enters a name that is exactly 5 characters long, it will not save.
                   
            My recommendation with regards to input masks are to use them for fields that have very standardized inputs such as phone numbers or zipcodes.