Welcome, Guest
Username: Password: Remember me

TOPIC: Need help in pre-filling text fields

Need help in pre-filling text fields 7 months 4 days ago #99802

  • aquarian
  • aquarian's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hello all,

I have created a survey with 3 text fields.
1) Lead ID
2) First Name
3) Last Name

I am pre-filling the fields using their SGQA code
http://localhost/limesurvey/index.php/174321/lang-en?174321X1X10=12345&174321X1X11=John&174321X1X12=Smith

so in the example above all the text fields are correctly pre-filled with values from query string i.e.
Lead ID=12345, First Name=John and Last Name=Smith

Now if I change the values of SGQA codes e.g.
Lead ID=54543, First Name=Mark and Last Name=Williams in query string

http://localhost/limesurvey/index.php/174321/lang-en?174321X1X10=54543&174321X1X11=Mark&174321X1X12=Williams

and refresh the page, LimeSurvey does not load the new values??? instead it shows the previously loaded value until i submit that survey and refresh the new values...

How can I destroy an existing lime survey session and get new values in text fields?
The administrator has disabled public write access.

Need help in pre-filling text fields 7 months 4 days ago #99805

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 933
  • Thank you received: 193
  • Karma: 62
Hello,

maybe it will be enough just adding newtest=Y parameter to your url...

http://localhost/limesurvey/index.php/174321/lang-en?newtest=Y&174321X1X10=12345&174321X1X11=John&174321X1X12=Smith
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.
The following user(s) said Thank You: aquarian

Need help in pre-filling text fields 7 months 4 days ago #99816

  • aquarian
  • aquarian's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Thank you for the help :) it worked !!!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.109 seconds
Donation Image