How to implement mandatory field validation in Nintex forms in Nintex forms for Office 365 SharePoint Online?

Required field validation in Nintex form for office 365

In this post, we will discuss how to implement mandatory field or required field validation using rules in Nintex forms for Office 365. Sometimes, you may need to implement require field validations using Nintex forms in SharePoint Online list or libraries.


In this example, there is a SharePoint Online list name as “BlogsLists” and it has two columns known as:

  • Title
  • Blog name

Here I want to make the Blog name field as a required or mandatory field using rules in Nintex forms.

First Open the list in the browser and then click on Nintex Forms from the ribbon-like below to customize the form using Nintex Forms for Office 365.

nintex forms required field validation
nintex forms required field validation

Then in the Nintex Form for Office 365 designer, select the blog name textbox and from the Ribbon click on Add Rule button like below:

Nintex forms for Office 365 textbox validation
Nintex forms for Office 365 textbox validation

Then in the Rule give a meaningful name for the Rule and then select the rule type as Validation from the drop-down.

Then in the Condition click on fx button like below:

Nintex forms implement mandatory validation rules
Nintex forms implement mandatory validation

Then in the Formula Builder, from the INSERT REFERENCE, expand Runtime Functions and double click on isNullOrEmpty function. Then in the isNullOrEmpty function select value and expand Named Controls and from there double click {Self} and the formula should look like below:





Nintex forms mandatory field validation
Nintex forms mandatory field validation

Then in the message, type the message which you want to show it to the user. And overall the rule looks like below:

nintex forms validation rules examples
nintex forms validation rules examples

Now publish the form and open the list to add one item to the SharePoint Online list.

Now when you will try to add one item to the list and without giving any value when you will try to save the item, it will display validation message like below:

nintex forms validation rules examples
Required field validation in Nintex form for office 365 using Rules

Now if you put an entry in the blog name and click on Save, it will now show any validation message for blog name field.

nintex forms validation rules examples
nintex forms validation rules examples

You may like following Nintex forms for Office 365 tutorials:



Hope this article will be useful to you to implement mandatory field validation using rules in Nintex forms for Office 365 in SharePoint Online list.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →