Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

input field "other" | change size (multiple choice/list question)

More
2 years 4 months ago #243151 by lourdes.gay
Please help us help you and fill where relevant:
Your LimeSurvey version:  Versión 5.6.18
Own server or LimeSurvey hosting: lime
Survey theme/template: fruity
==================
Hi!
I would like to change the size of the text input box to a bigger one or a box which adapts the size according to the text input (see attachment). Is there any code I can include to the custom.css?
 

Please Log in to join the conversation.

More
2 years 4 months ago #243155 by Joffm
You should investigate the form with the webdevelopment tool of your browser (usually F12) and see which classes are affected.

Eg. this
Code:
<style type="text/css">
div.form-group.other-text-item { width:80% !important; }
input.form-control { width:100% !important; }
</style>

Adapt to your wishes

 

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
2 years 4 months ago - 2 years 4 months ago #243162 by tpartner
If you are looking for a long textarea (multi line), you will need to insert a following, conditionally shown, long text type question.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 2 years 4 months ago by tpartner.

Please Log in to join the conversation.

More
2 years 4 months ago #243320 by lourdes.gay
That worked wonders, thank you so much!

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose