Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

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

Setting up quota's with hidden question filled by prefilled URL answer 2 years 8 months ago #96314

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5408
  • Thank you received: 1154
  • Karma: 479
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Setting up quota's with hidden question filled by prefilled URL answer 2 years 8 months ago #96316

  • ViliLe
  • ViliLe's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 7
  • Thank you received: 1
  • Karma: 0
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.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.180 seconds