Custom Labels & Values in the Form Widget

You can use the pipe (‘|’) to differentiate between label and value
If you use a pipe (‘|’) character in an option value, the part before the pipe will be used as the label, and the part after the pipe will be the actual value.
The backend will look like this:

And the frontend will look like this:

You can use this method in a Select, Radio buttons and Checkbox fields.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.