I am using the code below to ask users for their username.
MyTextInputListener listenerz = new MyTextInputListener(); Gdx.input.getTextInput(listenerz, "Create Username", "");
I have knowledge in PHP but beginner in Java LibGdx. I know that in HTML there is a REQUIRED
<input name='username' required />
That's why I wanted to know the equivalent coding in LibGdx for the REQUIRED input.