• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Control of a Free Text Height

Control of a Free Text Height 5 years 1 month ago #39921

  • rgouyon
  • rgouyon's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 24
  • Thank you received: 1
Hello

I am building a form and inside this form I want to show a text. So I used the Free Text Field. But my text is long and I want to limit the height of the Free Text element. I like to have something like a box with a scrollbar on the right side.

Rémi
The administrator has disabled public write access.

Control of a Free Text Height 5 years 1 month ago #39923

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 634
  • Thank you received: 117
Hello,

You can use a small CSS rule for this, more precisely, assuming your Free Text is named 'freetext', you can add something similar into the form's CSS area (Form Properties > CSS):
<style>
 
.rsform-block-freetext {
    max-height: 100px;
    overflow-y: scroll;
}
 
</style>
The administrator has disabled public write access.
The following user(s) said Thank You: rgouyon

Control of a Free Text Height 5 years 1 month ago #39931

  • rgouyon
  • rgouyon's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 24
  • Thank you received: 1
Yes I was thinking to some thing like that. But I did not know where to put the CSS code. It works now. Thank you very much
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!