automatic drop down
Hello all,
I see this question has been asked several times but seems like non of the scripts work for my PDF document or I am very begginer level.
What I am trying to achieve is that I have two drop-down menus, and whenever I pick an item from the first drop down, I want the other drop down to give automatic answers based on the item picked from the first drop down.
So to give you an idea, we have Resignation in the first drop box (called Transaction), and I want the person who picked resignation to have " 14 weeks, 12 weeks, 10 weeks option available right away in the second drop down (called Transaction 2).
I have created both drop downs and was using this javascripcode:
- switch (event.value) {
- case "Transaction":
- this.getField("Transaction 2").setItems(["14 weeks,12 weeks,10 weeks]);
- break;
But when I close javascript - seems like it is not working.Anny advice will be highly appreciated!!!
Thank you!

