- Posts: 13
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Array Text with autocomplete
- Juanoche
- Topic Author
- Offline
- New Member
Less
More
6 years 9 months ago #156108
by Juanoche
Array Text with autocomplete was created by Juanoche
Hi, I'm using "autocomplete" in an array text but, does anyone know how I could do it to only affects one single column or even one single field??
Regards
Regards
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
6 years 9 months ago #156110
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Array Text with autocomplete
Can you give a link to an active test survey so we can see the source and your code?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Juanoche
- Topic Author
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
6 years 9 months ago #156113
by Juanoche
Replied by Juanoche on topic Array Text with autocomplete
Here it is
markin.org/limesurvey/index.php/397519?lang=es
. I want to use "autocomplete" only in the first column (nombre) if possible
Thanks for your help
Thanks for your help
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
6 years 9 months ago #156114
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Array Text with autocomplete
Try changing this line in your script:
To this:
Code:
$('#question'+qID+' input[type="text"]').autocomplete({
To this:
Code:
$('#question'+qID+' input[type="text"][id$="_SQ001"]').autocomplete({
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Juanoche
- Topic Author
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
6 years 9 months ago #156116
by Juanoche
Replied by Juanoche on topic Array Text with autocomplete
Perfect. Thanks again...
The topic has been locked.