Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

scrolling text box

Featured Replies

I want the height of the scrolling text box ( row number ) adjusted according to the heigth of the data shown in it. is it possible ?

You can't do this directly. What you can do is to have several layouts with several different field sized and switch between them while changing records based upon the number of characters in the field. -bd

You can also use IF condition. Web Companion will evaluate that before generating the HTML page.

That way you can have 10 boxes in code and IF will use the right one.

Anatoli

Anatoli is right on. The If conditional is one of the strongest tools in the box. This is for all developers, if you are not using the If conditional on some of your format files, you should be.

SIMPLIFY...

Keith

  • Author

Thanks for your suggestions. But still I don't have any idea how to use ifs to solve my problem,it will be nice of you if you can send a little bit more explanation.

My users write their notes in a text box and send it to the database but when I want to see their notes on record detail page I can not see the "enter" action

(like that )

which they pressed while they writing their notes in that text box,

if I use [fmp-field:aaaa],but I can see whole text. If I use scrolling text box I can see enter actions but I can not see the whole text I have to use scroll.

But I want to be able to see both whole text & without scrolling it. You say "if" sloves that problem. How ?!..sorry but I have no idea how to configure condition...

Abkaplan

[ April 15, 2001: Message edited by: abkaplan ]

[ April 15, 2001: Message edited by: abkaplan ]

If you use field with calculation of length of text e.g. WordCount ( text ) then you can base the IF decision on that.

Then you can select from different TextArea e.g. 10, 20, 50, 100 lines long to display the correct one.

  • Author

Thanks I will try it

Abkaplan

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.