I was trying to only control font size and type while allowing users to keep the flexibility to use color, bold, underline, etc to highlight some of the information when bringing there text over. Plain text does allow for it. So far, from all that I have read , this is not possible because Livecycle is not able to control the attribute of Rich Text from Word being imported into a Rich Text box in Livecycle.
You are correct - that is one of the shortfalls of Livecycle in that it does not allow you to have the same flexibility as Word
You have to change the field format to 'Plain Text Only' and use this.font.size = "xxpt"; on exit
You can then copy and paste text from MS Word into the Form and it will convert it to the same font size that you have selected
1- Do not make the field RTF. That way the copy and paste will be whatever the field properties are set for
if that will not work...
2- have a duplicate field that is hidden and not RTF. Use a script such as this.rawValue = otherfield.rawValue. Then on the save or print action hide the RTF and make the none RTF field visible. This could be a pain if there are multiple fields.
No. I understand that you can set font in Lifecycle. The fact is that when you use Rich text in your form and you copy and paste information from another source (ie: word documents,etc), the font attributes come with it. The form that I am creating will rely on cutting and pasting information from other sources. I don't want to end up with different font size and type once the form is completed. The only way I can see this happening is by running a script against all text fields to ensure that it is the same all across the form.