Expand my Community achievements bar.

Variable Font Size in Form

Avatar

Former Community Member
How do I set the font size to shrink when a user fills a text box, thereby allowing more characters to be entered in the fixed-size text box?
2 Replies

Avatar

Former Community Member
In the scripting box for the text field you could use:



this.font.size = "0pt";



Ensure you set the event to Initialise and the language to JavaScript.