Catalogue client script for dependent variables

Sonia22
Tera Contributor

Hi All,

I need some help related to the following scenario which falls under catalogue Onload - Client script. I really appreciate the help on this issue. Thank you in advance.

Scenario:

I have a table called “mapping” where I have 5 fields as described :

Field 1 – choice type - which have few values in it – Choice type1, choice type 2

Field2 -choice type – dependent on field1-choice type 3, choice type 4

Field 3 -choice type – dependent on field 2 – choice type 5, choice type 6

Field 4-choice type – dependent on field 3 – choice type 7, choice type 8

Field 5 – choice type – dependent on field 4 – choice type 9, choice type 10

So these all 5 fields make a record in “mapping table”.

 

Now I want to use these fields at catalog form level, where in which

1.All the fields are auto-populated with the respective values and

2.Supposed to hidden at form level.

Lets say for an example

 Catalog item: “Test”

Field1 should be auto populated with value as “choice type 1”

Field 2 should be auto populated with one of the choice value3

Field 3 should be auto populated with one of the choice value6

Field 4 should be auto populated with one of the choice value7

Field 5 should be auto populated with one of the choice value10

 

Thankyou.

0 REPLIES 0