Increase box size of "other" option in multiple response

Mehr
5 Jahre 11 Monate her #87965 von bwoo5
bwoo5 erstellte das Thema Increase box size of "other" option in multiple response
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 an der Konversation teilzunehmen.

Mehr
5 Jahre 11 Monate her #88065 von tpartner
tpartner antwortete auf das Thema: Increase box size of "other" option in multiple response
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.
Folgende Benutzer bedankten sich: xbonize

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 9 Monate her #147125 von amun
amun antwortete auf das Thema: Increase box size of "other" option in multiple response
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 an der Konversation teilzunehmen.

Mehr
1 Jahr 9 Monate her #147149 von tpartner
tpartner antwortete auf das Thema: Increase box size of "other" option in multiple response
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.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
5 Monate 4 Wochen her #167600 von padbrest
padbrest antwortete auf das Thema: Increase box size of "other" option in multiple response
template.css not found. Is there another CSS filename (version 3.7) ?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
5 Monate 4 Wochen her #167622 von tpartner
tpartner antwortete auf das Thema: Increase box size of "other" option in multiple response
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.
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Monat 18 Stunden her #174075 von Zouloc
Zouloc antwortete auf das Thema: Increase box size of "other" option in multiple response
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 an der Konversation teilzunehmen.

Mehr
1 Monat 13 Stunden her #174090 von tpartner
tpartner antwortete auf das Thema: Increase box size of "other" option in multiple response
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.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Monat 18 Minuten her - 1 Monat 17 Minuten her #174100 von Zouloc
Zouloc antwortete auf das Thema: Increase box size of "other" option in multiple response
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: 1 Monat 17 Minuten her von Zouloc.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
4 Wochen 1 Tag her - 4 Wochen 1 Tag her #174115 von tpartner
tpartner antwortete auf das Thema: Increase box size of "other" option in multiple response
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.
Letzte Änderung: 4 Wochen 1 Tag her von tpartner.
Folgende Benutzer bedankten sich: Zouloc

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
4 Wochen 1 Tag her #174116 von Zouloc
Zouloc antwortete auf das Thema: Increase box size of "other" option in multiple response
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.
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
4 Wochen 1 Tag her #174159 von tpartner
tpartner antwortete auf das Thema: Increase box size of "other" option in multiple response
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.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
4 Wochen 23 Stunden her #174187 von Zouloc
Zouloc antwortete auf das Thema: Increase box size of "other" option in multiple response
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 an der Konversation teilzunehmen.

Mehr
4 Wochen 23 Stunden her #174188 von LouisGac
LouisGac antwortete auf das Thema: Increase box size of "other" option in multiple response

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 an der Konversation teilzunehmen.

Mehr
4 Wochen 23 Stunden her #174191 von Zouloc
Zouloc antwortete auf das Thema: Increase box size of "other" option in multiple response
: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 an der Konversation teilzunehmen.

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