Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Delete prior attributes from CPDB?

Delete prior attributes from CPDB? 1 Jahr 6 Monate her #94242

  • deshon
  • deshons Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 3
  • Karma: 0
Hello.

I'm new to limesurvey and trying to wrap my head around the database integration.

I'm running into a problem with token attributes that are incrementing making it difficult to refer to them in my survey. Here's the deal.

I import a set of participants with an additional attribute of 'team.'

Then I share the participants with a survey and include the team attribute as a token.

I write survey questions that are tailored to the team using something like:
'I am proud to be a member of {TOKEN:ATTRIBUTE_CPDB_1}'

The problem occurs when I delete all participants and tokens and then re-import the set of users and form a new token table.

Now, the token associated with team is automatically incremented to {TOKEN:ATTRIBUTE_CPDB_2} rendering all of my survey questions that reference {TOKEN:ATTRIBUTE_CPDB_1} broken.

How do I stop the attribute from automatically incrementing? Do I need to delete the old token tables? If so, how do I do that? Do I delete the old token tables directly in the Limesurvey database or can I do it within the Limesurvey GUI?

Basically, I need to import users with unique attributes and have the attributes referred to by the same name so that the code in my survey questions doesn't change each time.

Or am I thinking about the problem wrong?

Thanks in advance!

Rick
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.108 Sekunden
Donation Image