Copy link to clipboard
Copied
Hi, anyone can help me to make this happen? field#1 dropdown list is group like (Fruit) and field#2 dropdown list is type of fruit. I have many pages kind of fruit and I want to select feild#1 dropdown list it show kind of field #2. I tried many time but it seem error while we select group field#1 again it only go to page.
I tried following code from peoeple here in validation field#2 in Run Custom validation script as following:
if(event.value == "apple") this.pageNum = 1;
else if(event.value == "banana") this.pageNum = 2;
any Error in above scrip? Or any suggestion beside make validation script?
Copy link to clipboard
Copied
The script is OK.
Copy link to clipboard
Copied
Yep the script is running well if dropdown list field#2 is independent. Any idea make this dependency to dropdown list field#1? I tried make it denpendency but seem not working while I tried to click field#1 it going to page all time. In short, I can't select field#1.
Copy link to clipboard
Copied
What script does you use at field#1?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
var dependentListBoxFieldName = "article";
var dependentListValues =
{
"Friuit": [
["Apple"],
This script makes no sense.
Copy link to clipboard
Copied
sad I can't solve this issue. I have no script skill.
Copy link to clipboard
Copied
Look at the sample by Joel Geraci.