Welcome to the LimeSurvey Community Forum

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

Short text field with remembering last input (html tag autocomplete)

  • doesthiswork
  • doesthiswork's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 3 months ago #233189 by doesthiswork
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.27.19+210928
Own server
==================
Hello,
I am currently trying to make a short text field remember the last input.
What I want to do is activate the html tag autocomplete. Here is an example from w3schools: www.w3schools.com/TAgs/att_autocomplete.asp
The survey is supposed to be filled out by the person multiple times but some values change only under certain circumstances.

 

Another great addition would be, if the text field could be filled by the previous submitted answer.
To clarify.. The survey was taken by a specific token and the next time the token is used, the text field is automically filled with the previous submitted answer.

Thank you so much for all the help here on the forum!

Best regards

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 3 months ago #233190 by holch
There is a plugin that lets you update the token table. So you could create a custom attribute for each question you want to preset the answers for. You use the content of this custom attribute (at the beginning probably empty) to pipe it into the respective question as default answer. Then you "update" the custom attribute with the answer from the first survey. For the next survey you pipe this updated custom attribute in as default answer.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 3 months ago #233191 by holch
Here a link to the plugin that I am referring to:
gitlab.com/SondagesPro/TokenManagement/updateTokenByResponse

You need to check if it is compatible with your LS version.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

  • doesthiswork
  • doesthiswork's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 3 months ago #233229 by doesthiswork

Here a link to the plugin that I am referring to:
gitlab.com/SondagesPro/TokenManagement/updateTokenByResponse

You need to check if it is compatible with your LS version.
This is perfect and exactly what I need! Thank you so much.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 3 months ago #233233 by holch

This is perfect and exactly what I need! Thank you so much.

Great that this is what you were looking for!

Don't forget to thank the user Denis, who created the plugin!

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose