Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 88739

Re: dropdown menu - second depend on first chose

$
0
0

i use this script and when i select from dropdown2 item like 'KATJA'' (picture1) disappears when i moved to the next form  (picture2)

what did i do wrong please help me

 

::::::::::::::::::::::::::::: add in Calculate-custom calculated script

var dd2=this.getField("Dropdown2");

if(event.value=="BOHINJSKA BISTRICA")

{

dd2.setItems(ListA)

}

if(event.value=="ČATEŽ")

{

dd2.setItems(ListB)

}

::::::::::::::::::::::add in dropdown1 - Valiadate-run custom validation script

var ListA=

[

"",

"KATJA",

"LUCIJA",

"MARINA"

]

 

 

var ListB=

[

"",

"APP ŠT. 63",

"APP ŠT. 64",

]

 

picture1

picture2


Viewing all articles
Browse latest Browse all 88739

Trending Articles