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.

Spaces stripped from added field data

  1. rmstorey
    Member

    I have a form with two fields that pull from a drop-down list of values. These are set up to allow the user to add a new value when filling out the form. The problem I'm having is, when a user adds a value via the form, it strips punctuation and spacing from the value. So:

    Some Test Data, Etc

    becomes:

    SomeTestDataEtc

    How can I prevent this from happening? I want the field to store exactly what my user types in, spaces and all.

    Posted 11 years ago on Thursday January 10, 2013 | Permalink
  2. Can you share a link to your form please, and will we see the problem in the notification email (i.e. will the value be shown in the user notification email we receive if we test it?) Thank you.

    Are you doing anything with any custom code or the query string, or just accepting the value in the form field?

    Posted 11 years ago on Friday January 11, 2013 | Permalink
  3. rmstorey
    Member

    Here is the form:

    http://patest.atlantia.sca.org/calendar/carpooling/new-carpool-request/

    This is a nonpublic, in-development test site, so feel free to enter test data. I have just set up an email notification and confirmed that yes, you will see the value in the notification email.

    The two fields in question are for Event and Departure City. Both allow the user to add a new value, and both have the problem of stripping out spaces.

    I don't think there's any custom code, but I'm not the original creator of the form. It came with a plugin I installed, but I haven't had any luck getting support from the original creator (free plugin, so I'm not complaining, just explaining the background) so I'm trying to figure out how to fix it myself.

    Posted 11 years ago on Friday January 11, 2013 | Permalink
  4. Which fields in this form are having the spaces stripped from the values?

    Posted 11 years ago on Friday January 11, 2013 | Permalink