Skip to main content
Nintex Community Menu Bar

Create a rule for a field

  • December 14, 2016
  • 3 replies
  • 9 views

Forum|alt.badge.img+7

Field Name: NS

I need create a rule that verifies if the field serial number is not empty

Who do that

I have do this but do not work

I try do another thing but is the some result

3 replies

Forum|alt.badge.img+12
  • December 14, 2016

Hello,

Make sure to select Ns from the named controls section on the rules panel if you want to check the control on the form in more real time.    If you use item property it will check the list value in that column instead (most new items will be empty).

Your rule should fire when you click the save button.  

Thanks


Forum|alt.badge.img+7
  • Author
  • Rookie
  • December 14, 2016

i used not function and now works.
but i have another problem.
My form have a field "type".
I need to do

if Type=='Telefhone'

{

 not(numberid)

{

else

{

 not(numbid) || lenght(numbid)<=6 || substring(numid,1,3)

}

Is it right?

What is the best way to do this?


Forum|alt.badge.img+11
  • Nintex Partner
  • December 20, 2016

This is not right as you have 3 "{" but only 1 "}"

Besides this syntax error, I do not really understand what you are trying to accomplish here. Can you maybe explain what you are trying to do here?

Regarding your "ns" field. It looks like it is connected to a column of your list? If so, you can simply set this field as mandatory inside your list settings. No need to build a rule then.