Check out the LimeSurvey source code on GitHub!

Setting up quota's with hidden question filled by prefilled URL answer

More
3 years 8 months ago #96314 by tpartner
Try:
#question123 {
	position: absolute;
	left: -9999em;
}

where "123" is your question ID.

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.

More
3 years 8 months ago #96316 by ViliLe

tpartner wrote: Try:

#question123 {
	position: absolute;
	left: -9999em;
}

where "123" is your question ID.


Thanks for the idea. However, I discovered that actually the code that is intended to preset the value of a radio list doesn't seem to work at all under Safari, which I am using for testing at the moment. Under Chrome, where I originally tested, it seems to work, at least most of the time. So I now I'm not sure how much this problem ever had to do with visibility settings, and how much it's actually a cross-browser issue. I could test to find this out, but it's kind of pointless because if it doesn't work in Safari anyway, then I can't use it.

As a warning to others, after spending about 12 hours trying to implement a simple "Select your year of birth" -> (calculate age group) -> (apply quota based on age group) system, I'm giving up and just going the unelegant way of asking users to enter both their year of birth and age group.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form