B4J Question textfield input type how to?

Douglas Farias

Expert
Licensed User
Longtime User
how can i make my textfield = pass or only numbers etc etc?
i dont see the function inputtype how can i make my text field = pass field showing ******
 

JTmartins

Active Member
Licensed User
Longtime User
In JavaScenebuilder you have PaswordField under containers. Use that one instead of a TextField.
 
Upvote 0

Nagy Lajos

New Member
Licensed User
Possibly........

B4X:
Sub TextField1_TextChanged (Old As String, New As string)
    If IsNumber(New)=False Then
        TextField1.Text=Old
    End If
End Sub
 
Upvote 0
Top