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

TOPIC: "Please Specify" word in "Others" field

"Please Specify" word in "Others" field 3 years 5 months ago #92922

  • mimi
  • mimi's Avatar
  • Offline
  • Junior Lime
  • Posts: 32
  • Karma: 0
Hello..

i want to know if i can display words like "Please Specify" in "others" textfield.
here i've attached the example.

Thank You....
Attachments:
The administrator has disabled public write access.

"Please Specify" word in "Others" field 3 years 5 months ago #92925

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1790
  • Thank you received: 439
  • Karma: 110
Hello,
have a look at the advanced settings of your question (=> doc)
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.

"Please Specify" word in "Others" field 3 years 5 months ago #92932

  • mimi
  • mimi's Avatar
  • Offline
  • Junior Lime
  • Posts: 32
  • Karma: 0
I'm sorry.. but i couldnt undrstand...
have u take a look to my attachment ?
i want to insert text in the textfield, so that users know that they must put some text in the textfield of "Other". not to change the "other" word.

TQ so much for helping...
The administrator has disabled public write access.

"Please Specify" word in "Others" field 3 years 5 months ago #92937

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1790
  • Thank you received: 439
  • Karma: 110
Sorry it was more for 'radio buttons' list question type and I suppose you are using 'Multiple choice with comments'.
The problem is that i cannot reproduce your situation because in my installation* "other" laber is not displayed !


* Version 2.00+ Build 130213
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.
The following user(s) said Thank You: mimi

"Please Specify" word in "Others" field 3 years 4 months ago #93019

  • mimi
  • mimi's Avatar
  • Offline
  • Junior Lime
  • Posts: 32
  • Karma: 0
Okay....
from the example that u gave to me...
what if i want to put the word "--Please Specify--" in the box.
can i do that??
here i have enclosed an example.
Attachments:
The administrator has disabled public write access.

"Please Specify" word in "Others" field 3 years 4 months ago #93028

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1790
  • Thank you received: 439
  • Karma: 110
for each comment input you have to set something like:
<script type="text/javascript" charset="utf-8"> 
$(document).ready(function() {
// set default text into textfield
   $('#answer123X456X78SQ001comment').attr('value', 'Please Specify');	
// remove default when focus on textfield
   $('#answer123X456X78SQ001comment').focus(function() {
	if($(this).val()=='Please Specify') 
	$(this).val('')
   });
});
</script>

You always have to adapt answer ID and paste all code in the source of the question.
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.
The following user(s) said Thank You: mimi
Moderators: ITEd
Time to create page: 0.330 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form