Skip to Content
avatar image
Former Member

Hide and show fields in Agentry without creating duplicate fields

Hi Experts,

Is there any way to display fields on screen to show/hide based on user input without duplicating fields.

We have tried using hidden rule to show/hide however we need to create same fields again and again and the complexity increases with more number of combinations.

In order to overcome this can we use Open UI to auto adjust the row number of fields

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 11 at 04:57 AM

    As you mention, Agentry provides the hidden rule to show/hide a field based on a rule. Field position on the screen is fixed and not controllable via a rule or Open UI. I am guessing you are trying to implement some kind of dynamic type form (please correct me if I am mistaken).

    Open UI could potentially be used but you would probably implement it as a full screen control to handle the display of all the fields.

    --Bill

    Add comment
    10|10000 characters needed characters exceeded

    • The cases where I have seen this requirement have used Open UI to provide the list of questions. In Agentry your screen would have just one field (probably a List View field). That field will be defined to use the whole screen and reference your Open UI class. In your class, you can then render the list of questions and show or hide things as needed. There are examples for the Open UI code as part of the Framework SDK for each client. Since I don't know what client you are using I can't really offer examples but recommend starting with the SDK examples.

      Bill