fbritop Well-Known Member Licensed User Longtime User Aug 6, 2021 #1 Hi, I have some input fields, that requiere a alphanumeric code. Usualy when the input gets the focus, this keyboard is shown (No numbers, you have to press the number function to access them) What I need, is that input field on focus shows the password type keyboard (no suggestions, numbers instead) I saw that my bank did this on their android app, and it was not a password field. What flags should I use for the inputType in the Textfield object? Also is this possible in iOS? Thanks FBP
Hi, I have some input fields, that requiere a alphanumeric code. Usualy when the input gets the focus, this keyboard is shown (No numbers, you have to press the number function to access them) What I need, is that input field on focus shows the password type keyboard (no suggestions, numbers instead) I saw that my bank did this on their android app, and it was not a password field. What flags should I use for the inputType in the Textfield object? Also is this possible in iOS? Thanks FBP
josejad Expert Licensed User Longtime User Aug 6, 2021 #2 Hi: You can use a B4XFloatTextField from the XUI VIews, check in the designer "Password field" if needed, and set "Keyboard Type" to "Numbers". **EDITED fbritop said: Also is this possible in iOS? Click to expand... Yes, it's crossplatform Upvote 0
Hi: You can use a B4XFloatTextField from the XUI VIews, check in the designer "Password field" if needed, and set "Keyboard Type" to "Numbers". **EDITED fbritop said: Also is this possible in iOS? Click to expand... Yes, it's crossplatform
fbritop Well-Known Member Licensed User Longtime User Aug 6, 2021 #3 Thanks, but I need alphanumeric. Searching android docs, I found that was with flag 90 https://developer.android.com/reference/android/text/InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD B4X: Copy Dim et As EditText = localTxtField.TextField et.InputType=0x00000090 Upvote 0
Thanks, but I need alphanumeric. Searching android docs, I found that was with flag 90 https://developer.android.com/reference/android/text/InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD B4X: Copy Dim et As EditText = localTxtField.TextField et.InputType=0x00000090