Export Drop Down Value to Text - Also Be Completely Editable
Hello, I am new to scripting and I am looking for some help to finish up a small snag in a current form.
I need to be able to populated text boxes based on info selected in a drop down field. I have this working. However, I also need the user to be able overwrite and input custom data to the drop down as well as the related text fields. This I can not seem to figure out.
With my current script, it will not allow/display text in the related text boxes once any custom data is added to the drop down.
Thanks for your help !
var selectedUnit = this.getField("Drop1").value;
if (selectedUnit=="select1") event.value = "export1";
else if (selectedUnit=="select2") event.value = "export2";
else if (selectedUnit=="select3") event.value = "export3";
else if (selectedUnit=="select4") event.value = "export4";
else if (selectedUnit=="") event.rc = (Drop1 !="");
else event.value = "";
