Quotation mark in select

Support MB Builder Quotation mark in selectResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28805
    netalysnetalys
    Participant

    Hi ! I've a select field populated with some values, and there is one with a quotation mark.
    When I select the value with the quotation mark, it doesn't save my choice. All other values work fine.
    I've tried to escape the value like this : \' but doesn't work better...
    Is there a bug with quotation marks in select values ?
    Thanks !
    Cedric.

    #28817
    Long NguyenLong Nguyen
    Moderator

    Hi Netalys,

    Thank you for your feedback,

    Please remove special characters from the choice value or field ID, just numbers, letters, and underscores to make the field works properly. Refer to this topic https://support.metabox.io/topic/select-custom-fields-not-saving-selection/

    #28818
    netalysnetalys
    Participant

    Hi ! That's OK, I should have thought about it :/
    Thanks for pointing me in the right direction !

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.