abkaplan Posted April 11, 2001 Posted April 11, 2001 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 ?
LiveOak Posted April 11, 2001 Posted April 11, 2001 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
Anatoli Posted April 12, 2001 Posted April 12, 2001 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
Keith M. Davie Posted April 12, 2001 Posted April 12, 2001 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
abkaplan Posted April 15, 2001 Author Posted April 15, 2001 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 ]
Anatoli Posted April 15, 2001 Posted April 15, 2001 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.
Recommended Posts
This topic is 8614 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now