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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Undocumented length limit on Option Value?
Pages: [1]

Author Topic: Undocumented length limit on Option Value?  (Read 1042 times)

cagilaba

  • Guest
Undocumented length limit on Option Value?
August 28, 2007, 07:13:13 am
This looks like either a bug or an "undocumented limitation" but in any case, it's a definite problem for me.

I'm using CiviCRM 1.8 on Drupal 5.2 (the issue occurs on the demo site http://demo.civicrm.org/ if you want to test it). When I try to create a custom field of type Alphanumeric - Select and I create a new Multiple Choice Option, if the Option Value is longer than 31 characters I get an error on attempting to save: "Please enter a valid value for this field. You may use a - z, A - Z, 1 - 9, spaces and underline ( _ ) characters."

The length of the text field is not limited appropriately, nor is this limit documented anywhere as far as I can tell. Furthermore the error message does not explain what actually went wrong.

So, is this a bug?
« Last Edit: August 28, 2007, 07:17:28 am by cagilaba »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Undocumented length limit on Option Value?
August 28, 2007, 11:42:48 am

This is an undocumented limitation. I have fixed the error message in trunk to mention the 31 character limit

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Undocumented length limit on Option Value?

This forum was archived on 2017-11-26.