Skip to main content
Nintex Community Menu Bar

Numeric Validation

  • August 22, 2017
  • 5 replies
  • 31 views

Forum|alt.badge.img+4

Hi All,

 

I am new in K2-Blackpearl.

 

My requirment is , i would like to restict entry for a column of the view only number. Other then number, the column should not accept any type of value.

 

I have tried with a pattern - (^[1-9]d{0,2}(.d{3})*(,d)?$) , but this did not work.

 

It will be nice, if you can help me in this regards.

 

Thanks in advance,

JD

5 replies

Forum|alt.badge.img+8

JD1,

 In Designer you can click on the control and in the properties section put a style on the control. 

 

 

Please let me know if this solved your issue. 

 

Thanks,

Bryan Peters


Forum|alt.badge.img+4
  • Author
  • August 23, 2017

Hi Bryan,

 

Thanks for your early reply,

 

As per you i applied below steps, but did not work:

 

1. In desginer click on the control on which i would like to apply this numeric validation

2. then click on Body to get the properties of the Body

3. Click on Styles properties and select format as Number

 

I am not sure wheather i  have followed same as you said. if not pl. let me know in  more details.

 

Thanks with Regards,

JD


Albarghouthy
Forum|alt.badge.img+16

Hi JD1,


 


Are you setting the style/pattern to the column body?


Are you trying to add the pattern to Editable List View?


 


If yes,  try to set the pattern or the style to the Add/Edit control


 



Forum|alt.badge.img+4
  • Author
  • August 23, 2017

 

Hi Mustafa,

 

Thanks for your response.

 

Yes, my view is having Editable List View and i have tried with followings :

 

1. Seeting style as Number

2. Adding pattern as Nemuric

 

But both options are not working.

 

After entering value into that column of the Editable List View ,  i am clicking on a button MoveNext  which has a rule 'then apply the changes made to the row on the editable list' .. to move the control to the next row.

 

Now, my requirment is , if the column has non numeric value then on pressing MoveNext button, it should display an error msg.

 

Thanks with Regards,

JD 


Albarghouthy
Forum|alt.badge.img+16

Maybe you're missing the validation: