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 3 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 3 months ago #94496

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6122
  • Thank you received: 1357
  • Karma: 533
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 3 months ago #94506

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9259
  • Thank you received: 1320
  • Karma: 382
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
Last Edit: 3 years 3 months ago by DenisChenu.
The administrator has disabled public write access.

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

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6122
  • Thank you received: 1357
  • Karma: 533
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 3 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 3 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 3 months ago by Serafim.
The administrator has disabled public write access.

Attribute length of 255 chars??? 3 years 3 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.
Moderators: ITEd
Time to create page: 0.195 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form