I have a text field that uses the following script to tell if the field is full to set the text size from 14 down to 12 point. I have to first loose the focus on the field before the size will change.
Is there a way to get this to happen while I am typing.
I put this script in a custom keystroke script.
if(event.fieldFull)
{
event.target.textSize = 12;
}
This user created function will autotab based on the number of characters entered into a field. You should be able to modify it to trigger a logical value so when a given number of characterless have been entered the function would notify you to change the font size as needed.
I am not familiar with the "fieldFull" property in JavaScript, but there is a "full" event in LiveCycle Designer, but this event depends on the field having a set number of characters irregardless of the font size.
George Kaiser