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.

Large Text Field

Featured Replies

I've got a long text field that has topic headings in it. I would like to put buttons above the field so that the user can click and have the field automatically scroll to the correct spot. Spliting the field up is not an option. Any ideas? Thanks. Steve

Well, I've got an idea, although I'm not sure if it will work for you.

Have the field appear on a layout that allows the entire text of the field to appear. The field itself doesn't have a scroll bar in it in the Field format. Instead, to view the contents of the field, you would scroll through the body.

At the top, include buttons that use the script Scroll Window [Page Down] script step (found under the Windows section of script steps. If the section that the button takes the user to would require five page downs, then include five of these steps in the script that takes them to that section. Then in each page view, also include a button that runs a script Script Window [Home] to take the user back to the top.

Does that work for you?

Chuck

  • Author

Thanks for the suggestion Chuck. I tried it, but it has problems: Scroll page down once destroys the entire screen contents...the field seems to get a lot bigger. I've got tabs on the top and icons on the side that vanish.

[ May 11, 2001: Message edited by: Steveinvegas ]

quote:

Originally posted by Steveinvegas:

I've got a long text field that has topic headings in it. I would like to put buttons above the field so that the user can click and have the field automatically scroll to the correct spot. Spliting the field up is not an option. Any ideas? Thanks. Steve

If you cannot split this field up how about several hidden fields then when a selection was made go to field "x" Scroll to selection.

It would get you to the general area.

Dean

What about this:

Fields:

Ltf - Text, your large text field

gHeadingNo - global number, the number of the heading that you want to scroll to (from 1 to whatever)

cLtf - Calculation = Middle(Ltf,Position(Ltf,"~",1,gHeadingNo),64000)

Then display cLtf instead of the original field. Place a special character ("~" or some other) at the beginning of each heading. Make your up and down buttons run scripts that increment and decrement the value of gHeadingNo.

The drawback is that while you can then use the regular scroll bar to move down from this position, you can't go above the currently selected heading without clicking the up button. However, you could create additional buttons that go up or down in smaller increments.

  • Author

Thanks for the suggestions. There is another drawback with using a calc field...the loss of any text formatting within the calc field. I'm going to cut the field into smaller pieces, since there doesn't appear to be a solution that keeps the text formatting in place. Thanks again.

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.