Answered
Hi, I have multiline textfield and tried to align my text using javascript onlick event of a button
TextField1_1.alignment = "justify";
TextField1_1.alignment = "left";
TextField1_1.alignment = "right";
TextField1_1.alignment = "center";
I have separate buttons for every style, but they do not seem to work. I'm using livecycle 8
how do I change font size using javascript?
There is no property named alignment.
To change the alignment between left, center, right, justifyAll, justify or radix use:
TextField1.para.hAlign = "center";
To change the font size:
TextField1.font.size = "12pt"
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs