Skip to main content
Nintex Community Menu Bar
Solved

radio button with value 1 or 2

  • December 6, 2017
  • 2 replies
  • 31 views
  • Translate

Forum|alt.badge.img+8

I have a list of record

Name   Active

Jen        1 = active

Don       0 - inactive

Mark     0  - inactive

John     1 - Active

 

I want to have a grid where  I can add and edit rows where the active column with a default value of (1,0)  should reflect a display of (Active, Inactive)

 

 

Really appreciate.

Best answer by Dabuskol

Thanks for the response and idea but it doesn't work on me.

 

I changed the control to dropdown list, create a reference smart object for 1=Yes, 0=No. Then it worked.

I did also for editing/update.

 

For saving or editing, I created a rule since my column is number that when dropdown contains yes then 1 else 0.

 

So far so good. Happy since I am new to K2.

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+9
  • Apprentice
  • 105 replies
  • December 6, 2017

Hello Dabuskol,

 

To Achieve this you need to use Expression.

 

In the ListView's Active Column, add an expression using an if condition (Which you can drag from Context Browser  Logical Operators) in the first box you need to drag the Active Column from SMO and then drag Equals operator from Logical Operators and then in Second text box enter 1 and in third textbox enter Active and in 4th Textbox enter Inactive. That's it ..Click ok and execute. You should see Active & Inactive Text in place of 1 and 0.

 

Let me know if it works..

 

Regard

Translate

Forum|alt.badge.img+8
  • Author
  • Novice
  • 38 replies
  • Answer
  • December 7, 2017

Thanks for the response and idea but it doesn't work on me.

 

I changed the control to dropdown list, create a reference smart object for 1=Yes, 0=No. Then it worked.

I did also for editing/update.

 

For saving or editing, I created a rule since my column is number that when dropdown contains yes then 1 else 0.

 

So far so good. Happy since I am new to K2.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings