Home > DeveloperSection > Forums > How to create prompt in Sencha Touch?
Goti Bandu

Total Post:119

Points:835
Posted on    June-11-2013 2:17 AM

 Sencha Touch Sencha Touch 
Ratings:


 1 Reply(s)
 818  View(s)
Rate this:
Hi Expert,

I'm developing mobile application in Sencha Touch Environment. Sencha Touch is new for me, so i'm not much familiar with Sencha Touch. 

I'm trying to create prompt (e.g. alert message box for taken input from user) but not get output, so please help me to create prompt.

Thanks in advance. 



Arun Singh

Total Post:68

Points:476
Posted on    August-06-2013 1:58 AM

You can use following line of code to create Prompt Message Box in Sencha Touch:
Prompt Message Box:
    Ext.Msg.prompt('MessageBox_title', 
      'Enter screen name',
       function(btn, text){
       if(btn == 'ok'){
          }
      }
     });
For more details about Messages Box check out the following link:

Mark as answer if it will resolve your problem. 

Don't want to miss updates? Please click the below button!

Follow MindStick