Announcement

Collapse
No announcement yet.

Problem with a "setItems" script in a combo box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with a "setItems" script in a combo box

    Ok, this is the third time I am writing this question and Foxit will not post it.

    I have a combo box I need to populate with the results of a series of other combo boxes named "Name1" through "Name10"

    I have the following script in the combo box:
    Code:
    event.target.setItems([
    this.getField("Name1").value.split(",")[0],
    this.getField("Name2").value.split(",")[0],
    this.getField("Name3").value.split(",")[0],
    this.getField("Name5").value.split(",")[0],
    this.getField("Name6").value.split(",")[0],
    this.getField("Name7").value.split(",")[0],
    this.getField("Name8").value.split(",")[0],
    this.getField("Name9").value.split(",")[0],
    this.getField("Name10").value.split(",")[0]]);
    For some reason this will not work in Foxit but it works fine in Acrobat.

    I can provide a sample file if need be.
    Does anyone have any suggestions on how to get this to work correctly?

    I hope someone on here can help me.

    Bruce


  • #2
    Dear Madmaxneo,

    Please help to send the PDF file in question for us to take a closer look at first.If it is not convenience to upload PDF file in this thread,please email it to [email protected] with this thread link.Thank you.


    Comment

    Working...
    X