Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8623 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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 ]

Posted

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.

This topic is 8623 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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