Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Implement "AJAX"-call

Implement "AJAX"-call 1 Jahr 3 Monate her #95321

  • king_and1
  • king_and1s Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 29
  • Karma: 0
Hello,

I need some advice on how to implement an AJAX-call in LimeSurvey....

I just want it to target one special question. Let´s just say only the first one .
How and where do i have to insert the Code ?
Since I´m relatively new to this kind of programming I´m really confused about the implementation.

Hopefully someone can help me with this project .... :silly:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Implement "AJAX"-call 1 Jahr 3 Monate her #95333

  • king_and1
  • king_and1s Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 29
  • Karma: 0
Well , so i got the Blue and Gray template where i changed some colors and so on....

The structure still the same.

The first question in my Survey is like : "please type in your serial number"

Well, and thats exactly where i want an Ajax call. After the user finished the input, it should start checking the serial number on a external server and provide an answer if this serial is correct or not .
I´ve searched the question.pstpl(dunno how its correct..) and i´ve found the div_class="answers" and the table´s in it. But i dont know how to specifically target this first question. So i hope this is enough information so we can go on working out this problem , if not please tell me what´s missing and i´m gonna try editing it as good as possible...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Implement "AJAX"-call 1 Jahr 3 Monate her #95357

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6238
  • Dank erhalten: 794
  • Karma: 238
You have an expample of an ajax call here:
manual.limesurvey.org/Workarounds:_Manip...wers_for_text_inputs

Ajax call is not a LS problem, please view jquery documentation .

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