Welcome to the LimeSurvey Community Forum

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

Problem Passing Panel Variable Back

  • Winocll_48635
  • Winocll_48635's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
4 years 8 months ago #187076 by Winocll_48635
Problem Passing Panel Variable Back was created by Winocll_48635
I set my quota for terminates to zero, then set it to autoload this link:

www.website.com/program.php?TERMCODE=20&...HRU:VariableSurveyId }


The hidden short-text question that i store the PID passed from the client is called `SubSidcapture`

Under `Panel Integration` i created a variable called `VariableSurveyId` that has as its target question `SubSidcapture`

It captures the variable being passed to me (id) and puts it into the data without any problems. But when someone terminates the variable is not being passed back to the client in the redirect properly.

Using (where the value of the passthru variable is 1)...

www.website.com/program.php?TERMCODE=20&...HRU:VariableSurveyId }


...i expected to see this link in the redirect...

www.website.com/program.php?TERMCODE=20&PID=1


...but instead i saw this...

www.website.com/program.php?TERMCODE=20&PID=#


Why is the pound sign (#) coming up instead of the number?
The topic has been locked.
  • Winocll_48635
  • Winocll_48635's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
4 years 8 months ago #187077 by Winocll_48635
Replied by Winocll_48635 on topic Problem Passing Panel Variable Back
Even though i have a "terminate" quota set to 0 if QSa is answered a "2", every time i answer QSa with a "2" it terminates out...but it counts the quota as a complete rather than as a terminate
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 8 months ago #187078 by Joffm
Replied by Joffm on topic Problem Passing Panel Variable Back
Hi,

The hidden short-text question that i store the PID passed from the client is called `SubSidcapture`


So just use:
www.website.com/program.php?TERMCODE=20&PID={SubSidcapture }

I do not trust PASSTHRU.


Your second problem is a bit trange.
But we do not know your settings.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu, Winocll_48635
The topic has been locked.
  • Winocll_48635
  • Winocll_48635's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
4 years 8 months ago #187079 by Winocll_48635
Replied by Winocll_48635 on topic Problem Passing Panel Variable Back
That did the trick for my first (OP) problem...thanks so much!
The topic has been locked.
More
4 years 8 months ago #187114 by jelo
Replied by jelo on topic Problem Passing Panel Variable Back

Joffm wrote: I do not trust PASSTHRU.

Which seems to be an opinion shared by everybody except the one which developed that feature.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 8 months ago #187116 by DenisChenu
Replied by DenisChenu on topic Problem Passing Panel Variable Back

jelo wrote:

Joffm wrote: I do not trust PASSTHRU.

Which seems to be an opinion shared by everybody except the one which developed that feature.

lol …

But not totally true … When PASTHRU was created, prefilling by URL didn't exist.
But now it exist : developer must unsure it still work in future …

A reason why i didn't like to add feature in core :).
I like to see pathrue moving to a plugin
bugs.limesurvey.org/view.php?id=10252 for a sample

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.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose