0
votes

I have a form designed with the GUI designer with input textfields and buttons. I have attached actions to the buttons. When I call up the form with showForm(Form,null), the textfields are not accepting input and the buttons are not triggering the action. This is happening only for this form. Initially, there was the problem solved here Unable to call a specific form from a button in codenameone and then the problem solved here Simulator keeps defaulting to old Main form. What could be the issue now?

2
question unclear... can you provide the code sample ?? - Rakesh Chouhan
Which code sample? The code generated by the GUI designer? - user1622343

2 Answers

0
votes

As far as I know there may be some issues as you say, but first need to see code

0
votes

In the form after you added the text fields did you select the text field component and press action event?

Assuming you did that you should get a callback method in the Statemachine class.

This call will be invoked only when the user changes the content of the text field. You can run in the debugger and set breakpoints/step into code to see what is going on.