SumanR Member Licensed User Jun 1, 2018 #1 How to alert message for Empty EditBox when Execute action button in B4A?
KZero Active Member Licensed User Longtime User Jun 1, 2018 #2 B4X: if edit1.text = "" then msgbox("editbox is empty","") check this user guide https://www.b4x.com/android/files/UserGuide.zip Upvote 0
B4X: if edit1.text = "" then msgbox("editbox is empty","") check this user guide https://www.b4x.com/android/files/UserGuide.zip
Bladimir Silva Toro Active Member Licensed User Longtime User Jun 2, 2018 #3 Another type of validation: B4X: If Edit1.Text.Length=0 Then Msgbox("editbox is empty","Warning!!!") End If Upvote 0
Another type of validation: B4X: If Edit1.Text.Length=0 Then Msgbox("editbox is empty","Warning!!!") End If
Eme Fibonacci Well-Known Member Licensed User Longtime User Jun 2, 2018 #4 And if you just type a space? A better way B4X: if edit1.Text.Trim = "" then msgbox("editbox is empty","") Upvote 0
And if you just type a space? A better way B4X: if edit1.Text.Trim = "" then msgbox("editbox is empty","")
Erel B4X founder Staff member Licensed User Longtime User Jun 3, 2018 #5 Note that it is better to use MsgboxAsync. https://www.b4x.com/android/forum/t...cated-and-async-dialogs-msgbox.79578/#content Upvote 0
Note that it is better to use MsgboxAsync. https://www.b4x.com/android/forum/t...cated-and-async-dialogs-msgbox.79578/#content