Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Hide undefined token attributes in survey template

Hide undefined token attributes in survey template 1 Jahr 10 Monate her #88068

  • limalemon
  • limalemons Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
How do I hide undefined {TOKEN:ATTRIBUTE_1} in my survey template (survey.pstpl)?

I mean, I want to use them and it works great when inside the survey, but when I'm at the "input token" (first page), or any page that still hasn't got the token inputed, the token attributes are undefined and it displays them with the red text and border (I read about the expressiona manager, but I don't know how to use it in this case).

Help please...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Hide undefined token attributes in survey template 1 Jahr 10 Monate her #88884

  • limalemon
  • limalemons Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
Anyone?

I can't believe no one had this request before.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Hide undefined token attributes in survey template 1 Jahr 10 Monate her #88885

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5325
  • Dank erhalten: 296
  • Karma: 249
Why do you add the placeholder at the template and not at your survey?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Hide undefined token attributes in survey template 1 Jahr 10 Monate her #88921

  • limalemon
  • limalemons Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
Can you give me an example please?

I thought I was doing it the right way by placing it in the survey.pstpl. Do I need to place it in a different file?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Aw: Re: Hide undefined token attributes in survey template 1 Jahr 10 Monate her #88930

  • jelo
  • jelos Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 467
  • Dank erhalten: 52
  • Karma: 16
The question is what it the purpose of your attribute. Why did you add the attribute to the template? Do you want to display the content of the attribute during the survey? On every page?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Aw: Re: Hide undefined token attributes in survey template 1 Jahr 10 Monate her #88936

  • limalemon
  • limalemons Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
Exactly, I would like to have those attributes visible for every survey step.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Aw: Re: Hide undefined token attributes in survey template 1 Jahr 10 Monate her #88937

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5325
  • Dank erhalten: 296
  • Karma: 249
In this case you can also use the survey description or group description and put the placeholders in there.
Or simply add a question of type "text display" containing the placeholder on top of every page.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: limalemon

Re: Aw: Re: Hide undefined token attributes in survey template 1 Jahr 10 Monate her #88977

  • DenisChenu
  • DenisChenus Avatar
  • ONLINE
  • Moderator Lime
  • Beiträge: 6362
  • Dank erhalten: 827
  • Karma: 245
With survey description, you have it in token fill page.

Alertnative : put in in startgroup.pstpl.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: limalemon

Re: Aw: Re: Hide undefined token attributes in survey template 1 Jahr 10 Monate her #89006

  • limalemon
  • limalemons Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
thank you, I didn't know those two methods.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.143 Sekunden
Donation Image