Increase box size of "other" option in multiple response

Mehr
6 Jahre 7 Monate her #87965 von bwoo5
I have a multiple response question and have selected to show the "other" option. How can increase the width of the text box(input box) associated with the "other" option?

thanks!

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
6 Jahre 7 Monate her #88065 von tpartner
Add this to the end of template.css (tested on the default template):
.multiple-opt .answer li input.text {
	width: 300px;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Folgende Benutzer bedankten sich: xbonize

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 5 Monate her #147125 von amun
I wonder, if additionaly there might be an opportunity to 1) increase the numbers of lines of the "others"-box and 2) implement a scroll bar for the text box.

many thanks!

My version: limesurvey 2.06

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Jahre 5 Monate her #147149 von tpartner
No, the "Other" field is a <input type="text"> element and therefor restricted to one line.

If you need multi-line, add a following long text question with relevance to show it when "Other" is checked.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 2 Monate her #167600 von padbrest
template.css not found. Is there another CSS filename (version 3.7) ?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 2 Monate her #167622 von tpartner
The file is now custom.css



But you will also need to modify the CSS rule:

.multiple-opt input[type="text"].form-control {
    width: 300px;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 2 Tage her #174075 von Zouloc
Hi,
Thanks for helping but I'm unable to make it work...
I added these lines to the custom.css of my active theme but there's no change... Did I make something wrong? Did I miss an option?

Thank you in advance.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 2 Tage her #174090 von tpartner
What LimeSurvey version? Did you reset the theme?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 1 Tag her - 9 Monate 1 Tag her #174100 von Zouloc
LimeSurvey version is 3.14.8.
I just copied the default theme to change its custom.css then I activated it.
How do you reset a theme?

Thanks for the fast reply! :)
Letzte Änderung: 9 Monate 1 Tag her von Zouloc.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 1 Tag her - 9 Monate 1 Tag her #174115 von tpartner
There is no "default" theme in 3.x.

This works for me in an extended version of the 3.15.9 vanilla theme:

.multiple-opt input[type="text"].form-control {
    width: 300px;
}



You can reset the theme in the themes list.



You can also clear the tmp assets in Configuration --> Global settings --> General.



You might also try setting debug to 1 in /application/config/config.php. This will bypass the assets manager so all CSS, etc. is loaded directly from the theme directory.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Anhänge:
Letzte Änderung: 9 Monate 1 Tag her von tpartner.
Folgende Benutzer bedankten sich: Zouloc

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 1 Tag her #174116 von Zouloc
I did all of this, but still not working... My theme is based on fruity, I'll try with Vanilla.

I attached some screenshots, tell me if you need more information.

Sorry for the inconvenience.
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 1 Tag her #174159 von tpartner
Can you attach a link to a test survey?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 12 Stunden her #174187 von Zouloc
Ok I found the problem! My surveys were created under fruity theme, and when I set my extends_fruity as default theme, it didn't apply to old surveys automatically, I had to apply it for old survey.

Thanks for helping and sorry for the inconvenience!

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 12 Stunden her #174188 von LouisGac

Zouloc schrieb: Ok I found the problem! My surveys were created under fruity theme, and when I set my extends_fruity as default theme, it didn't apply to old surveys automatically, I had to apply it for old survey.

Thanks for helping and sorry for the inconvenience!


:laugh:

it's the third time I see this mistake

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
9 Monate 11 Stunden her #174191 von Zouloc
:huh:

I read some Limesurvey doc about theme editor but I didn't see anything about this... Did I miss it? :unsure:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha