-
Three_FeathersAsked on August 8, 2020 at 12:35 AM
Hi
I have two text boxes in the Configurable List widget and would like to change
the size of each one separately. The first one is good. The second box I would
like to make wider (longer- to show more text). Could you let me know the CSS for this?
-
Richie JotForm SupportReplied on August 8, 2020 at 5:00 AM
It is possible to use custom CSS in the configurable list widget to increase the width size.
Can you please share the the form in question so that we can check?
Looking forward for your response.
-
Three_FeathersReplied on August 8, 2020 at 11:04 AM
Hi
The form I am referring to is the Human/Wildlife Inspection Report # 202186058068053
Thank you for your assistance.
-
Patrick_RReplied on August 8, 2020 at 12:48 PM
Hi! You can increase the size of the second textbox by implementing the following two CSS code snippets.
1. Implement the following CSS code using these instructions: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes/
Make sure that you place this code at the end of your existing CSS code.
iframe#customFieldFrame_92{
width: 600px;
}2. Implement the following CSS code using these instructions for the "Configurable List" widget: https://www.jotform.com/help/428-How-to-Inject-CSS-Codes-to-Widgets/
Make sure that you place this code at the end of your existing CSS code.
tr > td.col2 > input.translatable{
width: 300px;
}You'll get the following results after implementing these codes:
Demo of the form after implementing this code: https://form.jotform.com/202204561856957
I hope this helps. If you have any further queries, feel free to let us know.
Thank you!
-
Three_FeathersReplied on August 8, 2020 at 1:06 PM
Thank you so much for adjusting the form for me!
It is perfect.
Have a Super Day
-
Three_FeathersReplied on August 8, 2020 at 9:13 PM
Sorry,
I was wondering what the code would be
if the second column was changed to a "textarea" instead of "text"
tr > td.col2 > input.translatable{
width: 300px;
}Apparently we need to have it expand to more lines if needed.
Otherwise it works fine the way it is.
Cheers!
-
Vanessa_TReplied on August 8, 2020 at 10:04 PM
Please change it to this:
tr > td.col2 > textarea.translatable{ width: 300px; }
Basically only the highlighted parted is changed on your original CSS.