cancel
Showing results for 
Search instead for 
Did you mean: 

How do I hide a panel by clicking a button or an image?

Topic

Though we do not support custom javaScript here is an example of how to change the visibility property.

Instructions

1) Define a CSS class for the control
  • In the control settings > Formatting > CSS class <name of class in text>
  • In Form settings Custom CSS add a blank css class Example .panelx{}
2) Create a javaScript Function to either show, hide or toggle the visibiliy
  • In form settings > custom javaScript write a function Example: function showPanel(){NWF$('.panelx').hide();}
3 Call the function by either creating a button of type javaScript or  in a save / submit button in the advanced section > client click Example:showPanel()

Related Links


Labels: (2)
Tags (2)
Version history
Revision #:
19 of 23
Last update:
2 weeks ago
Updated by: