Forum Moderators: open
Here's what worked for me:
The drop down list is named choices
The text field to be changed is called description
"choice2" is the Export Value of the second drop-down list choice
var choiceMade = this.getField("choices").value;
var descr = this.getField("description");
if(choiceMade == "choice2"){
descr.required = true;
// change the text too if you like
//descr.value = "text text text";
}
I put this as a Action when the user moves focus away from the drop down list (onBlur).
Dave