How to unhide field

Hi Expert,

i am having trouble to figure out how to unhide the field when condition is met.

For example,
I have a drop down list which contain of Credentials; and IP
if user choose Credential then field of Login and field of password should display.

Hope to get some answer here…


To hide or show a field, you may use the ‘visible’ attribute of the component and the ValueChangeListener.
Inside the body of the listener, you can check the value from the drop-down list and change the visibility of other components.