I'm trying to create a form to answer questions with a drop down menu. Most of the question can be answer with a "yes" or "no", but I would like to create a third option "other" so the person can add a comment, note, etc. Is possible to have an expandable text field in a drop down list option? I know I can allow custom text entry but when I preview the form the text field doesn't expand as the text field do.
TextField1.presence = (xfa.event.change === "Other") ? "visible" : "invisible";
Then in the initialise event of the dropdown you could have this code to set it the first time.
Which just calls the change event to set the presence the when the form is open.
Here is a sample