Home > DeveloperSection > Forums > confirmation msg box in sencha touch
Chintoo Semi

Total Post:135

Posted on    June-11-2013 2:20 AM

 Sencha Touch Sencha Touch 

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

I want to create confirmation alert message box in Sencha Touch. Please tell me how to do this?

Your help is a great appreciated. 

Arun Singh

Total Post:68

Posted on    August-05-2013 2:26 AM

Hello Chintoo Semi,
First of all, I would like to correct one thing in your question, There is nothing like Confirmation Alert Message Box in Sencha Touch. Sencha Touch provides Prompt Message box, Confirmation Message Box and Alert Message Box. You can use these message as per your requirement.
Here the code is:
Prompt Message Box:
      'Enter screen name',
       function(btn, text){
       if(btn == 'ok'){

Confirmation Message Box:
Ext.Msg.confirm("Confirmation", "Are you sure you want to send this info?", function(btn){
                if (btn === 'yes'){

Alert Message Box:
   Ext.Msg.alert('MessageBox_Title','This is alert message box');

Please check out the following link for more details on Sencha Touch Messages Box:


I hope it might be helpful for you. Thanks !!

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

Follow MindStick