T
Tony Stark
Guest
Code:
define var mobnum as INT64 label "Mobile No:" format "9999999999" .
update mobnum.
if mobnum < 10 or mobnum > 0 then
do:
display "enter only 10 digits".
update mobnum.
end.
else if mobnum = 10 then
do:
display "Correct number".
end.
In this code, I want to validate mobile number. if i correctly enter 10 digit it wants to display "Correct number" but when enter 10 digits it only display "Enter only 10 digits"..
Continue reading...