- Posts: 3
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
2 months 3 weeks ago #255499
by schultem
GET parameter which is preset with '-' (forbidden char) was created 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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
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.
Replied by tpartner on topic GET parameter which is preset with '-' (forbidden char)
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
2 months 3 weeks ago #255525
by schultem
Replied by schultem on topic GET parameter which is preset with '-' (forbidden char)
tried that
Limesurvey tells me, that I have to use a valid variable name - eg with parameter value: example-id
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 months 3 weeks ago - 2 months 3 weeks ago #255534
by DenisChenu
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.
Replied by DenisChenu on topic GET parameter which is preset with '-' (forbidden char)
Seems to be an issue : please report.tried that
Limesurvey tells me, that I have to use a valid variable name - eg with parameter value: example-id
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12941
- Thank you received: 3979
2 months 3 weeks ago #255547
by Joffm
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
Replied by Joffm on topic GET parameter which is preset with '-' (forbidden char)
It works.try to set it in DB directly and test if it work.
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
2 months 2 weeks ago #255665
by schultem
Replied by schultem on topic GET parameter which is preset with '-' (forbidden char)
Fitzliputzli it worked - thanks a lot!!
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 months 2 weeks ago #255668
by DenisChenu
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.
Replied by DenisChenu on topic GET parameter which is preset with '-' (forbidden char)
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/
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.