I am trying to make an if then statement where if one item is selected in a drop down box it auto populates a text box with pre defined text, but if the other option is selected it's a blank textbox.
What's the best way to do this?
Make the predefined text the export value of each item in the dropdown. Then use a Custom keystroke script to fill the text box. Like this:
if(!event.willCommit) this.getField("TextField").value = event.changeEx;
Should the text in the text field be the same as the selected item in the drop-down, or something else?
Should the user be able to enter something into the text field, if one of the other options is selected in the drop-down?