In this post, we will discuss how we can apply rules in Nintex forms for Office 365. If you are just starting Nintex forms, kindly check Working with Nintex Forms for Office 365.
In this particular example, I have customized a list form using Nintex Forms. To do this, Open the list and from Ribbon click on Nintex Forms like below:
Also, you can read:
– SharePoint 2013 Online Content Search WebPart with Query String
This will open the Nintex forms designer and your Nintex form will open. Here I have taken a checkbox and based on checkbox checked or unchecked I am showing or hiding a section. So I have drag and drop a checkbox from General controls. Then double-click on the checkbox control to change few properties of the control. Here I have given a Name and Text as “Do you want to give a comment?” this will appear after the checkbox. So the properties will appear like below:
Then I drag and drop a Panel control to the form. Now Inside the panel control, I have drag and drop a single line of a textbox. Here the UI should look like below:
And the requirement is If the user checked the checkbox then the panel should appear and if user unchecks the checkbox the panel should get hide.
Here we will write the rule on the panel control. Just select the panel control and from Ribbon click on Add Rule button as shown in the fig below:
Then the Rule builder will open, give a name for the rule. Select the Rule Type as Formatting. The click on the fx icon to write the condition. This will open the Formula Builder. Here expand the Named Controls and select comment which is our checkbox name. The expand the Operators and choose != and write true. It should looks like below:
And then in the Formatting section choose “Hide” checkbox. So as per the formula if the checked box is not true (not selected), then it will hide the control. Your rules should look like below:
Now to try out this Publish the form and then Open the form and then check/uncheck the checkbox you will be able to see the result.
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: