How to call decision rule in interface

Here, I have created a decision rule, My requirements are if I call this decision rule in the interface in the orgName field the tax Id and Address should be displayed.

How can i configure this in the interface?

  Discussion posts and replies are publicly visible

Parents Reply
  • Actually here. in this code i am trying to pass the decision rule in place of choice values and choice labels so when a person selects the field he can see the options.

    ( In my decision rule the input1 values are me organisation name values and my ouput1 value is my taxid and my output 2 is my address) 

     a!sideBySideLayout(
    items: {
    a!sideBySideItem(
    item: a!dropdownField(
    label: "Organization Name",
    labelPosition: "ABOVE",
    placeholder: "Choose a value",
    choiceLabels: local!address,
    choiceValues: local!address,
    value: local!address,
    saveInto: ri!donationDetails.orgName,
    disabled: ri!isReadOnly

    )
    ),

Children