Android Question B4XDialog - How to Validate Input

lkching7

Member
Licensed User
Longtime User
I created a B4XDialog, I like to Make sure all textview not empty before user can press [OK]
Can I know How to Make It ?
 

Attachments

  • test.gif
    test.gif
    89.5 KB · Views: 148

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
using b4x form builder, you can check any text field as required.
or programmatically you can write like this:
B4X:
b4xdialog.GetPrefItem("text1").Required=True
 
Upvote 0
Top