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

Required field validation in Nintex form for office 365
InfoPath alternatives for form designing SharePoint

In this post we will discuss how to implement mandatory field or required field validation using rules in Nintex forms for Office 365. If you are new to Nintex forms for Office 365, you can check out the below article.

– Working with Nintex Forms for Office 365

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

Here I want to make BlogName field as required field.

Also you can read below articles on:
– Working with Sites in SharePoint online office 365 using JavaScript Object Model jsom

– Microsoft Flow Copy files from one SharePoint Online account or folder to another Office 365

– Query List Nintex workflow action for Office 365 SharePoint Online

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

Nintex forms for Office 365

Nintex forms for Office 365Then in the Nintex Form for Office 365 designer, select the BlogName 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 dropdown.

Then in the Condition click on fx button like below:

Nintex forms implement mandatory validation
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 slect value and expand Named Controls and from there double click {Self} and the formula should looks like below:

Nintex forms mandatory field vaidation

Nintex forms mandatory field vaidationThen in the message, type the message which you want to show it to user. And over all the rule looks like below:

nintex forms
nintex forms

Now publish the form and open the list to add one item to the 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:

Required field validation in Nintex form for office 365
Required field validation in Nintex form for office 365

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

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

Hope this article will be useful to you.

Similar SharePoint 2013 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 →

Leave a Reply