Answered
This topic has been closed for replies.
There are already so many answers to these questions on the forum.
As 'Custom Validate' script of "PETS" dropdown, use this:
var type = this.getField("TYPE");
switch(event.value){
case "Dog":
type.setItems(["Lab","Poodle"]);
break;
case "Cat":
type.setItems(["Saimese","Persian"]);
break;
default:
type.clearItems();}
As 'Custom Validate' script of "TYPE" dropdown, use this:
var trait = this.getField("TRAIT");
switch(event.value){
case "Lab":
trait.value = "Friendly";
break;
case "Poodle":
trait.value = "Smart";
break;
default:
trait.value = "";}
Sign up
Already have an account? Login
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inSign in to Adobe Community
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
