---
title: "confirmation msg box in sencha touch"  
description: "confirmation msg box in sencha touch"  
author: "Anonymous User"  
published: 2013-06-11  
updated: 2013-08-05  
canonical: https://www.mindstick.com/forum/1017/confirmation-msg-box-in-sencha-touch  
category: "sencha touch"  
tags: ["sencha touch"]  
reading_time: 1 minute  

---

# confirmation msg box in sencha touch

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
I want to create confirmation [alert](https://answers.mindstick.com/qa/30927/what-is-an-alert) [message](https://www.mindstick.com/forum/12802/show-confirmation-message-yes-or-no-in-asp-dot-net) box in [Sencha Touch](https://www.mindstick.com/interview/23004/define-class-system-of-sencha-touch). [Please tell me](https://www.mindstick.com/forum/33900/please-tell-me-what-are-the-technique-to-content-optimization) how to do this?\
Your help is a great appreciated.

## Replies

### Reply by Anonymous User

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:**\

```
    Ext.Msg.prompt('MessageBox_title',       '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:\
\
http://dev.sencha.com/deploy/ext-4.0.1/examples/message-box/msg-box.html\
\
I hope it might be helpful for you. Thanks !!


---

Original Source: https://www.mindstick.com/forum/1017/confirmation-msg-box-in-sencha-touch

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
