PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Wrong values shown in email notification and entries page when field has commas

  1. Wrong values are shown in the email notification and entries page when a multi-select field has commas in its value. The entries are showing the value as if it were multiple values because of the commas, instead of 1 value. The value gets split up into multiple values at the points where commas are present. Let me illustrate the bug with an example:

    1. Visit the form at http://localbizregistry.com/registration-form/
    2. Under the Business Classification section, click on the checkbox "Management of Companies and Enterprises".
    3. A multi-select field will appear below. Select "Corporate, Subsidiary, and Regional Managing Offices". Notice this value has commas in it. Screenshot here:
    http://dl.dropbox.com/u/60667761/multi_select_field_value_with_commas.png

    4. When the form is submitted, the fields are shown on the form entries page and in the email notification as if they were 3 values instead of 1 value. Here's a screenshot:
    http://dl.dropbox.com/u/60667761/email_notification_showing_values_as_3_instead_of_1.png

    Instead of:

    • Corporate
    • Subsidiary
    • and Regional Managing Offices

    It should be:

    • Corporate, Subsidiary, and Regional Managing Offices

    The value should be shown as a single value instead of 3 separate values.

    I'd appreciate support on this-- a fix to this behavior would be really great. Is there a way to get the commas escaped? Like "Corporate\, Subsidiary\, and Regional Managing Offices" through the enable values option on the edit form page? Or some other function to change the behavior, etc. Thank you. :)

    Posted 12 years ago on Friday February 10, 2012 | Permalink
  2. I am having a similar issue with my checkboxes.

    Posted 12 years ago on Monday February 13, 2012 | Permalink
  3. Just wanted to check if there's additional info needed to get a fix for this problem. I'd be glad to help with the GF team any way I can.

    Posted 12 years ago on Wednesday February 15, 2012 | Permalink