Skip to main content
1-Visitor
Jun 23, 2016 4:03 PM UTC
Question

How to add validation for textbox inside grid

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

2 replies

rk-311-VisitorAuthor
1-Visitor
Jun 23, 2016 7:15 PM UTC

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.

Translate
1-Visitor
Jun 16, 2017 9:38 AM UTC

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,

Translate