Dropdown

Adding Dropdowns Without Relationships.

Drag and drop a Dropdown control on the custom form. Add Dropdown is the first step. Specify the Name of the dropdown you want to create and click on the Plus symbol to add the same.

 28

Figure 1

Similarly, once again click on the plus symbol to add another dropdown (State).

29

Figure 2

Proceed to click on Add Data to add items or values for each dropdown. That is, country and state in our example. They will be listed in the Items Source. You will find names of countries added to the Country dropdown. .

30

Figure 3

Do the same for State by selecting the DD Name and provide subsequent values. Click on Ok.

31

Figure 4

Now you can preview and both the dropdowns with the specified values will be displayed. And each value can be selected to its counterpart.

32                       32.1

Figure 5                                                        Figure 5.1          

                

32.2                       32.3         

 Figure 5.2                                                        Figure 5.3              

Adding Dropdowns With Relationships

If you want to build relationships between dropdowns and their items, you must use excel sheet with predefined data in a specific manner.

  • Parent and child should have key and value pair
    • Child key column may contain Parent key or value details
  • Based on this, the relationship will be built. If user passes Parent key to the child key column, then relationship is key or if parent value is given to the child key column, then relationship is value.

Filter Key

First column will always be key, second column will be value. Create similar child keys (1,1) (2,2) (3,3) for each parent. Therefore, India= Assam and Chennai. Pakistan=Karachi and Pesawar. USA= California and Texas.

33

Figure 6

Drag and drop a dropdown control and precisely add Headers, such as Country and State as given in the above excel sheet.

34

Figure 7

Click on Add Data and upload the excel file with the countries and state. It will get displayed.

35

Figure 8

Click on the Add Relationship tab and Select the Parent, child and in filter dropdown select, ÔÇ£KEY.ÔÇØ

36

Figure 9

The created dropdown will be displayed for preview. The parent and child keys will be perfectly aligned for selection.

37

Figure 10

37.1        37.2              1     

Figure 10.1                                                  Figure 10.2                             Figure 10.3

Filter Value

When you build relationship with values, same parent values (India, India, Pakistan, Pakistan, USA, USA) is given to child keys.

38

Figure 11

Add the Country and state just like it is in the excel sheet.

39

Figure 12

Upload the excel file with the defined data.

40

Figure 13

In Add Relationship, select "Value." Click on Ok.

41

Figure 14

Preview and see that parent value is given to child key.

42

Figure 15

 

42.1     1     4                    

Figure 15.1                                          Figure 15.2                                  Figure 15.3

v1.3.0