Recent

Nintex Forms hide site left navigation

In my opinion it’s a best practice to hide the sites left navigation or current navigation from all Nintex forms.  The reason why is if someone clicks on a left navigation link while filling out a form, all the information they entered into the form will be lost.  So to prevent that we just hide the left navigation from all Nintex forms:
Nintex-Forms-Hide-Left-Nav-16-1

How to hide the left nav from forms

1. Open the form in the Nintex Form Designer

2. Click on the Settings option in the ribbon, expand out the Custom JavaScript section on the Settings popup window.
Nintex-Forms-Hide-Left-Nav-16-8

3. Paste the following text into the Custom JavaScript section:

// Hide the left navigation
NWF$(“#sideNavBox”).hide();
NWF$(“#contentBox”).css({“margin-left”:”20px”});

Nintex-Forms-Hide-Left-Nav-16-9

4. Save the Settings and Publish the form.

Finished Example: The form will now open with the left navigation hidden:
Nintex-Forms-Hide-Left-Nav-16-5

About Nick Hurst (84 Articles)
SharePoint and Nintex developer who strives to find easy to deploy and maintain solutions for business problems.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: