cancel
Showing results for 
Search instead for 
Did you mean: 

Java code required for visible and invisible view when clicking button.

uday_nalla
Explorer
0 Kudos

Hi All,

        When I click a button then three input fields and their text views have to be visible. Else it needs to be in invisble state. Please help me with the java code.

Thanks,

N.Uday Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos
1. create attribute A with type Visibility in your context
2 bind the visibility attribute to A
3. in wddoinit, wdcontext.currentContextelement().setA(WDVisibility.None)
3. in the event handler of the button click, wdcontext.currentContextelement().setA(WDVisibility.Visible)

Answers (0)