• Resolved tpo

    (@topod)


    Hi!

    I have a question – when I create a field of type Select, how do I set it so that I can have something like this in both labels and options:

    <option value="Value, Subvalue">Value, Subvalue</option>
    <option value="Value2, Subvalue2">Value2, Subvalue2</option>

    Currently there is only an option to separate the fields (labels and options) with a comma, which doesn’t work in my case.

    Is there any other way to do this, please? For example:
    Value, Subvalue|Value2, Subvalue2

    Thanks!

    • This topic was modified 7 months, 1 week ago by tpo.
Viewing 1 replies (of 1 total)
  • Plugin Support alexandrubodea

    (@alexandrubodea)

    Hi @topod,

    For the “Options” setting the comma (” , “) is really used as the separator between the values that are saved in DB so here it’s not recommended to use special characters. But in the “Labels” setting which is what is displayed to the user in the front-end forms, you can use special characters with their HTML equivalent. Please check the following screenshot to see an example of what I’m referring to.

    https://snipboard.io/ezwBsc.jpg

    https://snipboard.io/csxkTC.jpg

Viewing 1 replies (of 1 total)
  • The topic ‘Separation Select options by something other than a comma’ is closed to new replies.