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

string type validation in repeater

Highlighted
Level 7

string type validation in repeater

I have one column in repeater which changes widget type on it according to the datatype being passed from SQL. For example:- If string value passed from SQL,then Textbox will be visible and if DataTime passed,then DataTime Picker will be visible on the same place.

I want to have "Numeric digits only" validation in textbox.

3 REPLIES 3

Re: string type validation in repeater

Use a Numeric Entry Widget instead when BaseType it's NUMERIC

Re: string type validation in repeater

same cell keeps on changing its datattype.hence basetype as String from TWX side

Re: string type validation in repeater

But as you change the View mode for DateTime, you can change also the view mode when it's STRING versus when it's NUMBER, and one time show a TextInput and the other NumberInput