Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

Script to control font typeface in rich text textField

$
0
0

My form has text fields set to rich text. I want to keep the features of the rich text option but want to force the font typeface to be Courier New. If the user pastes text into the field that is of a different font typeface, the font typeface will be changed by the script to Courier New. Is this possible? I wrote the following script in the exit event but it does not work.

 

this.resolveNode("$").font.typeface = "Courier New");


Viewing all articles
Browse latest Browse all 1160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>