Welcome, Guest
Username: Password: Remember me

TOPIC: Problem autofilling text field

Problem autofilling text field 3 years 8 months ago #57148

  • johnnymo
  • johnnymo's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi,

Currently using:
$versionnumber = "1.90+";
$dbversionnumber = 143;
$buildnumber = '9642';

Unable to set a default value for a single text field (short text type) using a variable passed in the url.

name of text field i want to update:
41677X3X17

so tried appending ?sid=41677&lang=en&{41677X3X17}=default to end of survey url. Nothing changes
The administrator has disabled public write access.

Re: Problem autofilling text field 3 years 8 months ago #57149

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
Please attach your survey or any other short survey containing the same question fot testing. You can export the survey as .lss file.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Problem autofilling text field 3 years 8 months ago #57214

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
johnnymo wrote:
?sid=41677&lang=en&{41677X3X17}=default
According to documentation.

try
?sid=41677&lang=en&41677X3X17=default

:)

PS: maybe we have to put this possibility elsewhere :)
The administrator has disabled public write access.

Re: Problem autofilling text field 3 years 8 months ago #57234

  • johnnymo
  • johnnymo's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
also tried without the braces in the url. Attaching exported survey as requested.

File Attachment:

File Name: limesurvey_survey_41677.lss
File Size: 30 KB
The administrator has disabled public write access.

Re: Problem autofilling text field 3 years 8 months ago #57281

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
I have to admit that I just tested using 1.91RC4 and I can't get this to work using the attached survey.

Can anyone else test?!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Problem autofilling text field 3 years 8 months ago #57283

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
Mazi wrote:
I have to admit that I just tested using 1.91RC4 and I can't get this to work using the attached survey.

Can anyone else test?!

demonstration.sondages.pro/41677/lang-en?41677X27X673=123
Version 1.90+ Build 9642

limesurvey.sondages.pro/index.php?sid=41...=en&41677X47X872=123
version svn of this night

The first url parameter with ? not & :)
Last Edit: 3 years 8 months ago by DenisChenu.
The administrator has disabled public write access.

Re: Problem autofilling text field 3 years 8 months ago #57310

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5333
  • Thank you received: 296
  • Karma: 249
k, works fine at the latest SVN version now using ths syntax:
...index.php?sid=41677&newtest=Y&lang=en&41677X190X1913=hello

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.165 seconds
Donation Image