AnsweredAssumed Answered

Lock a text field's text format

Question asked by jebber6685 on May 4, 2012
Latest reply on May 15, 2012 by TellyShammas

Title

Lock a text field's text format

Post

I want to lock some of my text fields so that when I paste text from an email or other document, the text data entered will take on the format specified by the field and NOT where I copied the data from. 

I did a search for this and the answer was give as;

Set up an auto-enter calculation that strips out all user added text styles:
TextFormatRemove (Self)
and clear the "do not replace existing value" option.
Now the only text formatting that will remain after the user exits the field will be the styles you apply to the field while in layout mode.

My problem is that I do not understand how to apply this auto-enter calculation to a text field. Can someone give more detail 
on how you implement this auto-enter calculation to a text field?
Any help here would be greatly  appreciated.

I have FMPro Advanced 12 v1
OS - Windows Vista on desktop, Windows 7 on laptop

Outcomes