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

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

Recommended Posts

Posted

Is there any way to indicate if a text field has more text in it than is visible on the layout? e.g. build a little script field that can tell if the field has hidden characters and show an indicator.

Thanks in advanced for any ideas or hints.

Anatole

Posted

if you're doing this on a single layout, you could count the number of characters that fit in the field you are showing. You can create a calculation that is a number as follows:

Length( theField ) > 50 //where 50 is the number of characters that fit in the field

Then put the new calculation field on teh layout. Right click and select "Number Format". Select "Format as Boolean" and leave "Show zeros as" blank and put whatever 'flag' you want in the "Show non-zero's as", such as a • or * or !... etc etc.

IF you're doing it across multiple layouts, it starts to get harder if the fields are different widths....

Posted

OK - thanks for that. I just wondered if there was any feedback from the layout that a field is overflowing, but I guess not.

Thanks for your help

Posted

how about changing the background if the length is over number of characters.

Check the Auto Enter calculation, and be sure to deselect the option about replacing values.

HTH

Lee

Terrible_Toll_.fp7.zip

Posted

Hi

you can try this, too.

( If there is "hidden" text into the field, then a red question mark will appear on the left side of the field )

P.S.: the text can't contain more than 8 digits

HiddenText.zip

Posted

I missed what you did with that calculation, Daniele. :confused:

Otherwise, what about someone hitting the return, not overrunning X-amount of characters? Is there a way to flag that? I just ran into this. We have three lines available for text, and quite often they use the return or enter key to make it 4 or 5 lines.

Posted

Hi

that trick works only if the available line is only one and you want only to know if there is "hidden" text into the field.

IOW that does not prevent from adding as many lines as someone wants.

BTW there are other ways to obtain what you wish...for example a validation of yourField by calculation like this:

ValueCount ( yourField ) ≤ 3 and Length ( yourField ) ≤ 100

Posted

Thanks for that Lee - that's a really cool idea and it was very good of you to send me an example too.

Much appreciated - as are all the other replies too.

Anatole

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