views:

22

answers:

0

Hi,

I added a BasicEditField to my screen:

BasicEditField duration=new EditField("Duration:","",2,EditField.FILTER_NUMERIC);

Where we can enter only a number in the above field right..Now I want to display the value entered in the above field in another screen...for that i write in the next screen like

String duration11=duration.getText(); 

while I'm doing this it is showing null on next screen like Duration:null