Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Autocomplete question with multiple short text

Autocomplete question with multiple short text 1 Jahr 1 Monat her #99019

  • TarkiB
  • TarkiBs Avatar
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
Hi there,

I've used the walkthrough at manual.limesurvey.org/Workarounds:_Manip...1_and_later_versions 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.

Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.182 Sekunden
Donation Image