Skip to Content

Hide and show fields in Agentry without creating duplicate fields

Jan 11 at 12:34 AM


avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Bill Froelich
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.


Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Bill,

Firstly thanks for the reply.

Yes you are correct, we need to display certain sections in a screen based on condition.

For Example, in edit screen, user will enter answer to a question. Based on yes/no sections has to be enable. We tried implementing by using screen filed values in hidden rule. However if there are more questions user needs to answer it fails as complexity increases.

Apart from Open UI is there any option to do from Agentry.

Also can you please share any URL for Open UI examples like creating a screen with just one field.

Thanks in advance,

Sai kumar


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.