Welcome, Guest
Username: Password: Remember me

TOPIC: Attribute length of 255 chars???

Attribute length of 255 chars??? 2 years 1 month ago #94490

  • Serafim
  • Serafim's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 114
  • 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??? 2 years 1 month ago #94496

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4839
  • Thank you received: 987
  • Karma: 417
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Attribute length of 255 chars??? 2 years 1 month ago #94506

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 7140
  • Thank you received: 977
  • Karma: 285
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 ?
Last Edit: 2 years 1 month ago by DenisChenu.
The administrator has disabled public write access.

Attribute length of 255 chars??? 2 years 1 month ago #94510

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4839
  • Thank you received: 987
  • Karma: 417
Yeah, I was looking at the token attributes:

Capture_2013-04-03.JPG
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Attribute length of 255 chars??? 2 years 1 month ago #94511

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

Attribute length of 255 chars??? 2 years 1 month ago #94513

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

But thanks any way...
Last Edit: 2 years 1 month ago by Serafim.
The administrator has disabled public write access.

Attribute length of 255 chars??? 2 years 1 month ago #94532

  • Serafim
  • Serafim's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 114
  • 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.154 seconds
Donation Image