Title: Adding commas in select/multiselect field values
Last modified: June 20, 2023

---

# Adding commas in select/multiselect field values

 *  Resolved [nilssondigital](https://wordpress.org/support/users/nilssondigital/)
 * (@nilssondigital)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/adding-commas-in-select-multiselect-field-values/)
 * Some of my Options values for my select fields have commas, but since it’s a 
   comma separated list…it splits the option value into multiple values. I can use
   a semicolon but it makes less sense and doesn’t look as nice.
 * Is there a way to escape the comma so it’s not separated?

Viewing 1 replies (of 1 total)

 *  [alexrollin](https://wordpress.org/support/users/alexrollin/)
 * (@alexrollin)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/adding-commas-in-select-multiselect-field-values/#post-16833297)
 * Hello,
 * unfortunately no, commas simply cannot be used in the options.
 * However, if you want to you can add those commas back into the field output by
   localizing – translating – the original option values into values that have commas.
    1. Add options without commas
    2. Run tool from GeoDirectory > Status > Tools > DB text translation > Run
    3. Re-scan wp-content\plugins\geodirectory\languages\geodirectory-en_US.po file
    4. Translate those strings option via .po file translation.
       See more translation
       details at here [https://docs.wpgeodirectory.com/article/97-how-to-translate-or-localize-geodirectory#updating-translations](https://docs.wpgeodirectory.com/article/97-how-to-translate-or-localize-geodirectory#updating-translations)
 * If you need further help please open a support ticket here: [https://wpgeodirectory.com/support/](https://wpgeodirectory.com/support/)

Viewing 1 replies (of 1 total)

The topic ‘Adding commas in select/multiselect field values’ is closed to new replies.

 * ![](https://ps.w.org/geodirectory/assets/icon-256x256.jpg?rev=2778361)
 * [GeoDirectory - WP Business Directory Plugin and Classified Listings Directory](https://wordpress.org/plugins/geodirectory/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geodirectory/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geodirectory/)
 * [Active Topics](https://wordpress.org/support/plugin/geodirectory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geodirectory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geodirectory/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [alexrollin](https://wordpress.org/support/users/alexrollin/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/adding-commas-in-select-multiselect-field-values/#post-16833297)
 * Status: resolved