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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

How to add validation for textbox inside grid

rk-31
1-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

2 REPLIES 2
rk-31
1-Newbie
(To:rk-31)

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.

mazri
2-Guest
(To:rk-31)

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,

Top Tags