Expand my Community achievements bar.

Elevate your expertise and be recognized as a true influencer! Nominations for the exclusive Adobe Community Advisor program 2023 are now OPEN.

Text field question


Not applicable

Is it possible to create a dropdown menu besides a text field, that changes the font, color, style... of the text within that text field? I've found the option "rich text' already, but want to make it as simple as possible for an end user.


1 Reply


Level 2

You can use script similiar to this, on the change event of the dropdown.


if (xfa.event.newText == "red"){

   TextField1.fillColor= "255,0,0";

   TextField1.font.typeface="Comic Sans MS";