Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Change "please choose" from dropdown dinamically (no remote server access)

Change "please choose" from dropdown dinamically (no remote server access) 2 Jahre 2 Monate her #91403

  • Gabriela
  • Gabrielas Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 64
  • Karma: 0
Is it possible to change "please choose" from the dropdown in the survey without editing the.po file? have no access to the installed files in the remote server...

thanks in advance
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Change "please choose" from dropdown dinamically (no remote server access) 2 Jahre 2 Monate her #91404

  • Gabriela
  • Gabrielas Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 64
  • Karma: 0
Did it! :blink:

$('#question1284 option[value=""]').text('seleccione');

is it possible, somehow, to use qcode instead of questionID? (to avoid problems when id changes)
merci
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Change "please choose" from dropdown dinamically (no remote server access) 2 Jahre 2 Monate her #91415

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 7023
  • Dank erhalten: 939
  • Karma: 282
Hello:

$('#question{QCODE.qid} option[value=""]').text('seleccione');

See Expression Manager documentation.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Change "please choose" from dropdown dinamically (no remote server access) 2 Jahre 2 Monate her #91447

  • Gabriela
  • Gabrielas Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 64
  • Karma: 0
perfect. Thank u so much.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Change "please choose" from dropdown dinamically (no remote server access) 2 Jahre 2 Monate her #91461

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5601
  • Dank erhalten: 320
  • Karma: 255
The only alternative solution which comes to my mind is using some lines of JavaScript code.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Change "please choose" from dropdown dinamically (no remote server access) 2 Jahre 2 Monate her #91504

  • Gabriela
  • Gabrielas Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 64
  • Karma: 0
Thanks Mazi.
Actually, this

$('#question1284 option[value=""]').text('seleccione'); didnt work...

maybe Im using it wrong , do I have to replace anything in the code?

Its an Array question with dropdown option.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Change "please choose" from dropdown dinamically (no remote server access) 2 Jahre 2 Monate her #91509

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5601
  • Dank erhalten: 320
  • Karma: 255
Please post a link to an activated sample survey so we can check the source and also attach the survey here for testing.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Change "please choose" from dropdown dinamically (no remote server access) 2 Jahre 2 Monate her #91529

  • Gabriela
  • Gabrielas Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 64
  • Karma: 0
sorry, wrong question redaction:

correction..


Thanks Mazi.
Actually, this

$('#question{QCODE.qid} option[value=""]').text('seleccione'); didnt work...

maybe Im using it wrong , do I have to replace anything in the code?

Its an Array question with dropdown option.

thanks,

ps: have no personal server to show you the link, Im working offline now, but I can upload the group. thanks a lot again.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Change "please choose" from dropdown dinamically (no remote server access) 2 Jahre 2 Monate her #91531

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5601
  • Dank erhalten: 320
  • Karma: 255
Please post a screen shot which shows question ID and subquestion/answer IDs of the survey logic file view.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Change "please choose" from dropdown dinamically (no remote server access) 2 Wochen 3 Tage her #118884

  • boriginal
  • boriginals Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 14
  • Karma: 0
Hey,

I tried to implement this for a array question with dual scale and dropdown menues. Without success. I think something was wrong.

Can you please show me what the script should look like in total. And is it possible to add something like, use this script on "this question", if the script is implemented in question text of a special question? Instead of addressing the question no.?
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.156 Sekunden
Donation Image