cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add validation for textbox inside grid

Highlighted
Newbie

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

Tags (2)
2 REPLIES 2
Highlighted

Re: How to add validation for textbox inside grid

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.

Highlighted

Re: How to add validation for textbox inside grid

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,

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!