Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Autocomplete question with multiple short text

Autocomplete question with multiple short text 3 years 2 months ago #99019

  • TarkiB
  • TarkiB's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Hi there,

I've used the walkthrough at to set up auto completing questions. The user enters an ID in a field, and 4 other fields are automatically filled.

The way I have it set up is 5 seperate text questions. This takes up a huge amount of space - I'll be using autocomplete a lot throughout the survey. So I'd rather use a single multiple short text question.

I have attached a copy of the question that uses 5 seperate text box questions. I'm having trouble setting up the javascript to contain everything within the single multiple short text question. The multiple short text question has the code MultiQ. The five fields are: id, name, area, pname, pline. I want to be able to fill in id manually, then have the other fields autocompleted.

I've changed the javascript so that var q1 = $('MultiQ_id'), var q2 = $('MultiQ_name'), etc. Still however the fields won't autopopulate.

If anyone can provide any guidance or point out where I'm going wrong, that'd be great.

The administrator has disabled public write access.
Time to create page: 0.197 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form