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

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

Recommended Posts

Posted

I know it's possible to write a script that eliminates extra spaces and extra returns (I don't know how to do it but I know it's possible:-). But if after all the extraneous junk is removed from a field, there is still too much info in the field, what else can I do? Is it possible with scripting to say that if there are more than 500 characters in a field, to change the font size to "10" (from "12") and if there are more than 700 characters in the field, to chanage the font size to "8" or something like this?

I'm trying to solve the same problem that I posted under another topic (merging objects with formatted text or something like that) which no one was able to help with. If anyone has a suggestion, please let me know.

Thanks,

Stephie

Posted

yeh... its fairly easy... just make another field (calc with result text)... then just use a basic case function...

Case(Length(TextField) => 200; TextSize (TextField ; fontSize);

Length(TextField) => 400; TextSize(TextField; Smallerfontsize);

Length(TextField) => 600; TextSize(TextField;

EvenSmallerFontSize))

And just replace the word TextField with your field that has the text in it... and the whole fontsize and smaller font size etc. with the desired font size... remember this is not a script, it is a calculation... so use a calculation field....

This topic is 6879 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.