Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

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.