Skip to main content
1-Visitor
June 23, 2016
Question

How to add validation for textbox inside grid

  • June 23, 2016
  • 1 reply
  • 2134 views
Header 1Header 2Header 3
2530
2530

My mashup will be like above.

When a user enter value in header3, I need to keep a validation that should not be greater than header2 and less than header1. If validation fails I need to higlight textbox with red color else green color.

I am new to Thingworx. Please help.

Thanks

Raju

1 reply

rk-311-VisitorAuthor
1-Visitor
June 23, 2016

I accomplished this by using Validation Expression. ​When validation fails system is showing the textbox in Red color.

Can we show green color if validation is success.

1-Visitor
June 16, 2017

Hi Raju,

Could you tell me how you managed to implement the validation expression into the editable grid, because in my usecase it always show me invalide input and the color of the textbox is always red. 

Thanks,

Azri,