CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • leading and trailing spaces in names entered via the reserved individual profile
Pages: [1]

Author Topic: leading and trailing spaces in names entered via the reserved individual profile  (Read 331 times)

ptpmark

  • I post occasionally
  • **
  • Posts: 48
  • Karma: 1
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.22
  • MySQL version: 5.1.66
  • PHP version: 5.3.3
leading and trailing spaces in names entered via the reserved individual profile
April 15, 2014, 03:34:22 pm
Is anyone else having this problem? Some of our users are unintentionally entering trailing blank spaces after first or last names when adding new folks via the new individual profile available of the event participant registration page.   once the trailing blanks get in, it's hard to retrieve the person.

I'm thinking this shouldn't be allowed to happen, that the profile code should trim away these blank spaces.


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: leading and trailing spaces in names entered via the reserved individual profile
April 15, 2014, 03:56:39 pm
I wonder if that should happen in the BAO or DAO layer? I can't personally think of a situation where you would want leading & trailing spaces
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: leading and trailing spaces in names entered via the reserved individual profile
April 15, 2014, 04:17:52 pm
As an administrator I agree that trimming leading or trailing spaces would solve some of the problems we get.  Sorry it is only vocal support, not an offer of money to fund it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • leading and trailing spaces in names entered via the reserved individual profile

This forum was archived on 2017-11-26.