I got stucked with Ismatch function.
if users txt value is ( two or one digit before and after decimal value) i.e
0.50 or 0.5 or 1.50 or 1.5 then required field is YES else NO
i tried to use ismatch function
IsMatch(dcamount.Text,"\d+(.\d\d)" ) Or IsMatch(dcamount.Text,"\d+(.\d)" ) Or IsMatch(dcamount.Text,"\d\d+(.\d\d)" ) Or IsMatch(dcamount.Text,"\d\d+(.\d)" )
but this is not working as i expected.
it shows required field yes, if value is 111 (Three or more digit).
Any help/tips?