Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

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

Change "please choose" from dropdown dinamically (no remote server access) 1 Jahr 7 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) 1 Jahr 7 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) 1 Jahr 7 Monate her #91415

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6277
  • Dank erhalten: 802
  • Karma: 241
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) 1 Jahr 7 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) 1 Jahr 7 Monate her #91461

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5324
  • Dank erhalten: 294
  • Karma: 249
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) 1 Jahr 7 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) 1 Jahr 7 Monate her #91509

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5324
  • Dank erhalten: 294
  • Karma: 249
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) 1 Jahr 7 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) 1 Jahr 7 Monate her #91531

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5324
  • Dank erhalten: 294
  • Karma: 249
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.
Moderatoren: ITEd
Ladezeit der Seite: 0.160 Sekunden
Donation Image