Welcome to the LimeSurvey Community Forum

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

GET parameter which is preset with '-' (forbidden char)

  • schultem
  • schultem's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 3 weeks ago #255499 by schultem
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.4.2+240115 
Own server or LimeSurvey hosting: own server
Survey theme/template: Yeti
==================
Hi,
I am trying to extract a parameter from an URL - which in principle works fine, but I can't influence the URL setup - so their parameter is called 'this-is-the-parameter' which runs me into the problem, that limesurvey can't, as far as I can see it, handle variable names that have a minus '-' in them ... am I missing something fundamental here or is the only way to rename the parameter (which is tricky, cause external company and SAP - here I said it ;) ) ...

Thanks
Michael

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 3 weeks ago #255522 by tpartner

Cheers,
Tony Partner

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

Please Log in to join the conversation.

  • schultem
  • schultem's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 3 weeks ago #255525 by schultem
tried that :)
Limesurvey tells me, that I have to use a valid variable name - eg with parameter value: example-id
Attachments:

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 3 weeks ago - 2 months 3 weeks ago #255534 by DenisChenu

tried that :)
Limesurvey tells me, that I have to use a valid variable name - eg with parameter value: example-id

 
Seems to be an issue : please report.

Before fixed : did you have access to DB ? IF yes : try to set it in DB directly and test if it work.

Thanks to @Joffm : it work. Clearly a GUI issue here.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 2 months 3 weeks ago by DenisChenu. Reason: Thanks to @Joffm : it work. Clearly a GUI issue here.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 3 weeks ago #255547 by Joffm

try to set it in DB directly and test if it work.

It works.
1. Set it in the database
 
2. Call the survey
 
3. See the result
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • schultem
  • schultem's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 2 weeks ago #255665 by schultem
Fitzliputzli :) it worked - thanks a lot!!

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 2 weeks ago #255668 by DenisChenu
Please : remind to report the issue about the restriction on the input.
It's ,near the only interest of Panel integration now.

community.limesurvey.org/bug-tracker/

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose