• Resolved Jason

    (@galapogos01)


    Hey guys

    Not sure if you have seen this before.

    When we have a free text field on a product, if the customer includes an emoji in the submission, the field empty validation passes however some of the input cleansing is truncating the field and no order line item meta is captured.

    Either the validation needs to be revised or the emoji need to be allowed through!

    Cheers,
    Jason

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @galapogos01

    I did not recreate the same situation on the test installation. Send an example of the content that is entered in the text field. Also provide the link to the page where this issue occurs.

    Plugin Support Tomasz WP Desk

    (@tomaszwp)

    I am marking this topic as resolved as we have not received any new replies.

    Thread Starter Jason

    (@galapogos01)

    But it’s not resolved?

    As I said, any emoji will do it. You’re saying you can submit a field containing emoji and it appears in the order admin with emoji in the line meta?

    Can you show a screenshot?

    Jason

    Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Thread Starter Jason

    (@galapogos01)

    Thanks @tomaszwp

    Here’s some screenshots of mine. It’s a Textarea if that helps. Field contents seem to disappear when I checkout. Happens on Dev & Prod.

    View post on imgur.com

    Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @galapogos01

    I tested the Textarea field but the effect is the same – the entire field value is saved (including the emoji).

    We can take a closer look at it but we will need information that we cannot ask for in this forum.
    Please contact us using this form.
    Get Support

    Thread Starter Jason

    (@galapogos01)

    It turns out this was related to the table collation of the wp_woocommerce_order_itemmeta table. It must be utf8mb4 to support storing emoji or any unicode character whether captured from this plugin or anything else.

    Updating in case any one else has the same issue.

    Cheers,
    Jason

    Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @galapogos01

    Thanks for sharing this!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Emoji’s seem to break field submission’ is closed to new replies.