Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Can I use a URL parsed variable in the survey title?

  • FransErich
  • FransErich's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #146206 by FransErich
Hello fellow community members,

l would like to use a URL parsed value in the title of my survey.
Is this possible using default Limesurvey techniques and without using php coding?
And if so how should you advise me to do this?

all help is very welcome.

kind regards,

Frans
The topic has been locked.
More
8 years 4 months ago #146207 by fvanderstarre
Replied by fvanderstarre on topic Can I use a URL parsed variable in the survey title?
This may not be what you're looking for, but you can use token fields in the survey title (like {TOKEN:FIRSTNAME} or {TOKEN:ATTRIBUTE_1}).
The following user(s) said Thank You: FransErich
The topic has been locked.
  • FransErich
  • FransErich's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #146211 by FransErich
no sorry that's not what I'm looking for.
thanks anyway.

I'm doing a survey about a large number of applications. the applications are stored in a sql table and we can view them in a php generated html list view. Each record/line has button that calls my survey. the first question is a hidden one which will be filed by sending/parsing the applicationsID as a URL parameter. So far so good.
So that's why I ask if it would be possible to parse the application name as well and use it in the survey title. In this way I can make every survey have it's unique title.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
8 years 4 months ago #146228 by DenisChenu
If your question code is applicationsID
1. Hide welcome page
2. Put {applicationsID.NAOK} in title

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 4 months ago - 8 years 4 months ago #146249 by holch
Denis' solution should work, but fvanderstarre's Token solution could also work. You could create tokens for each application with a huge number of "uses left" and give each token one application as attribute. Then you put the URL of this specific token as the link of each button.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
Last edit: 8 years 4 months ago by holch.
The following user(s) said Thank You: FransErich
The topic has been locked.
  • FransErich
  • FransErich's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #146308 by FransErich
Thank You Holch,

Indeed this could work. Thank you Dennis and Holch for the combined solution for my problem.

Kind regards,

Frans
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose