Announcement

Collapse
No announcement yet.

Block Emoji in Text Field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Block Emoji in Text Field

    Now that our sites are mobile friendly, we have users entering emoji icons in the text field that we have setup for product personalization. Most of the manufacturing techniques we are using to personalize the products are not emoji friendly.

    I'd like to restrict the input to allow only QWERTY keyboard inputs. i.e., If you want a smiley face then, you will have to live with a colon and right parentheses. You aren't getting the adorable little yellow smiley.

    Hoping someone has already found a good solution for this.
    Shannon Wright
    Xact Xpressions, Inc.

    #2
    A JavaScript should do the job (lots of them out there - just google it). You can also get help from us but we also have a very advanced personalization add-on for Miva stores > http://demo.pcinet.com/
    Andreas Toman
    PCINET, LLC

    Miva Merchant Design, Development, Integration & Support
    We built over 200 Miva Merchant stores!
    Miva shopping cart design & integration service and see our Portfolio!


    e-mail: [email protected]
    web: www.pcinet.com
    LinkedIn: Andreas Toman
    phone: (786) 250-2056 (Miami, FL)

    Comment


      #3
      It would need to be stripped/prevented via javascript. The reason is that emoji's are not actually images or non-characters, they're part of the UTF8 character set which includes the ASCII characters on a QWERTY keyboard, it just happens that certain devices / operating systems treat those particular characters as special and display an image instead. There's not currently functionality within Merchant to restrict the character set used in a text input.
      David Hubbard
      CIO
      Miva
      [email protected]
      http://www.miva.com

      Comment

      Working...
      X