Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Attribute length of 255 chars???

Attribute length of 255 chars??? 3 years 8 months ago #94490

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Hi there,

Is it possible to hanve an attribute with more than 255 chars?
The administrator has disabled public write access.

Attribute length of 255 chars??? 3 years 8 months ago #94496

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
Unfortunately, I don't think so because the database fields for the attributes are varchar(255).
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Attribute length of 255 chars??? 3 years 8 months ago #94506

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
The attribute name or attribute value ?

Attribute name : varchar(50) and Atribute value : text (in my DB) . I made an error ?

Denis
PS ... oups token attribute ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
Last Edit: 3 years 8 months ago by DenisChenu.
The administrator has disabled public write access.

Attribute length of 255 chars??? 3 years 8 months ago #94510

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
Yeah, I was looking at the token attributes:

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Attribute length of 255 chars??? 3 years 8 months ago #94511

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Yes, it´s the token attribute.
The administrator has disabled public write access.

Attribute length of 255 chars??? 3 years 8 months ago #94513

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Ok then no solution to this, I'll think about another solution.

But thanks any way...
Last Edit: 3 years 8 months ago by Serafim.
The administrator has disabled public write access.

Attribute length of 255 chars??? 3 years 8 months ago #94532

  • Serafim
  • Serafim's Avatar
  • Offline
  • Expert Lime
  • Posts: 115
  • Thank you received: 2
  • Karma: 2
Ok, so with some imagination I got a solution, just I've put 2 attributes together, 255+255. Not the best solution but efficient...
The administrator has disabled public write access.
Time to create page: 0.228 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form