I am creating a form and I have a list box that has three values in it (or four if you include the black space). I would like a text box to auto-populate with a value based on the value of the list box. I found this from another thread and have tried to adapt it for my purpose but I am not getting any value to load. What is posted is modified.
event.value = (this.getField("List Box 1").valueAsString=="1")?"": apple
Any help would be appreciated
Press ctrl-j or cmd-j
Thank you for this. I will read it over and see if I can use it to adapt to what I have.
If "apple" is text then it must be in quotes. If it's the name of a variable then you have to define that variable first, and that's not present in the code you posted.
I might still need help with the defining of the name. I am trying to use what was posted previously first.
Thank you for the help that you have provided.