Android Question how do i check if a value does not start with zero

Makumbi

Well-Known Member
Licensed User
Longtime User
B4X:
    Please help how can i check a text value such that if it doesnot start with a zero then a message box is displayed thanks
    If Not Phone.Text.StartsWith("0") Then
 

emexes

Expert
Licensed User
Longtime User
I think the question is really: how to display the message box?

A toast message generated by the .TextChanged event would probably do the job.
 
Upvote 0
Top