3 Replies Latest reply on Jun 22, 2015 7:24 AM by jasotastic81

    I'm trying to change font.size with JavaScript on initialize


      The code below isn't working what coult be wrong?


      i have set up the font size for the text field on "0pt" then when opening pdf i check if value is shorter then 50 letters and if so then i have to change the font.size to "10pt".


      if (this.rawValue.length <=50) then this.font.size="10pt";


      The code doesn't work the font.size stays on value "0pt". Please help.