Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Is there a way to implement textarea in Maintain?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Is there a way to implement textarea in Maintain?
 Login/Join
 
Virtuoso
posted
My client is asking me for a tall multi-line field that will show the 250 characters of text in a field in five rows of fifty. Is there a way to implement this in Maintain?

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
John

If the users enter the text into a multi-line field and supply their own line break, then this will be honoured when the data is redisplayed.

If the text is entered on one line, then you can simply use PARAG and CTRAN to break the line and place a carriage return in the data.

If there is a mixture of text with and without line breaks, you can make a decision on whether to honour the user line breaks or not, using CTRAN and POSIT to find the location of the break, and redefining or accepting. Or, if the user enters a line break you can remove it before saving the data.

Generally, we train the users to enter the text in a formatted way, using the WRAP property OFF for the multi-line. You can of course have the WRAP set to HARD or SOFT for different variations.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Platinum Member
posted Hide Post
I used textarea with javascript to implement a same request as yours. Users type data in the textarea, javascript code in the onblur event to disemble the long text into a few lines, then assign the values to some hidden text box, then Maintain code can read from hidden text box one by one.
 
Posts: 118 | Location: Omaha, NE | Registered: June 12, 2003Report This Post
Virtuoso
posted Hide Post
     Thank you both -- "MultiEditBox" in Maintain does indeed implement via html's textarea. I did not recognize the translation until I saw your answers.

     This is exactly what I need.

         J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Is there a way to implement textarea in Maintain?

Copyright © 1996-2020 Information Builders