AnsweredAssumed Answered

"If" script for auto changing of Field font size given "Length"

Question asked by jebber6685 on Dec 20, 2011
Latest reply on Dec 21, 2011 by jebber6685

Title

"If" script for auto changing of Field font size given "Length"

Post

Hello,

I would like to create a script that will change the font size of a text field when the amout of words / characters in that field exceed 550.

So I created a calculation field called "Aswer Length" that equals Length(Answer). This field will return the number of characters in the field. 

I would like the font size for the "Answer" field to be 24 pt normally, but when there is a longer answer, greater than 550 characters, I want the font size for the Answer field to decrease to 16pt.

How can I create an "If" script to do this?

Any help here would be greatly appreciated.

I have FMPro Advanced 11.0 v3
OS - Windows Vista on desktop, Windows 7 on laptop

Outcomes