Forum Academy Marketplace Showcase Pricing Features

Textbox - Scrollbox

How is it possible to add a visual element “text” with a scrollbox? I need a fixed size of a textbox and the user to be able to scroll this thextbox.

1 Like

So a way our users have solved that in the past is to display the text in an html element, then you have more control. Can you try that? Not sure we want to expose a feature on the text element to do this, as it seems to be a pretty rare use case.

2 Likes

That works perfectly! Thanks bud.

1 Like

http://www.w3schools.com/html/html_formatting.asp
HTML element and activate ‘Display as an iFrame’.

    • Put your text in a database field
    • Use a multiline input and read the content from the database into it
    • Place an invisible block over the text so it can’t be edited

Just a workaround. Test that it will not modify it visually or in the database (permission)

3 Likes
  1. Take a rich text element
  2. disable input
  3. borders none
  4. place a white shape over the editor icons
  5. place your text in the initial content field

Now you have rich text instead of plain text.
Because it’s in the initial content you do not need to place it in a database field.
With states you can change the text in the conditions.

Best solution!!

Just to add some visual cues to this post - To achieve a scrolling like group…

image

Add a multi-line input, then feed in the ‘Initial content’ from a data type field.
Be sure to check ‘This input is disabled’ to stop user interaction with the multi-line input.

On the styling I suggest creating a new style where the element has no border or Conditional styling e.g. when hovered.

Thats it, nice and simple - no need for iFrames :slight_smile:
Hope this helps someone.

5 Likes

How did you make the data field to pass it into the initial content?