cancel
Showing results for 
Search instead for 
Did you mean: 

Hide a form panel by clicking a button or an image

Topic

Classic Nintex Forms allow for custom JavaScript and CSS but Nintex does not support custom code. This example is provided as is.
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 visibility.
  • 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

Forum post discussing this solution.

 

Tags (2)
Version history
Revision #:
27 of 27
Last update:
‎12-14-2020 04:54 PM
Updated by: