---
title: "How to create prompt in Sencha Touch?"  
description: "How to create prompt in Sencha Touch?"  
author: "Anonymous User"  
published: 2013-06-11  
updated: 2026-05-15  
canonical: https://www.mindstick.com/forum/1016/how-to-create-prompt-in-sencha-touch  
category: "sencha touch"  
tags: ["sencha touch"]  
reading_time: 1 minute  

---

# How to create prompt in Sencha Touch?

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
I'm developing [mobile application](https://www.mindstick.com/forum/201/namespace-for-mobile-application-in-dot-net) in [Sencha Touch](https://www.mindstick.com/interview/23004/define-class-system-of-sencha-touch) Environment. Sencha Touch is new for me, so i'm not much familiar with Sencha Touch. \
I'm [trying](https://answers.mindstick.com/qa/93698/6-mistakes-couples-are-trying-to-save-money) to create prompt (e.g. alert [message](https://www.mindstick.com/forum/12802/show-confirmation-message-yes-or-no-in-asp-dot-net) box for taken [input](https://www.mindstick.com/forum/159209/how-can-i-read-convert-an-input-stream-into-a-string-in-java) from user) but not get [output](https://www.mindstick.com/interview/34427/explain-the-output-in-angular), so please help me to create prompt.\
Thanks in advance. \

## Replies

### Reply by Anonymous User

You can use following line of code to create Prompt Message Box in Sencha [Touch](https://www.mindstick.com/forum/34099/how-to-customize-selected-fields-in-a-list-in-sencha-touch-app):

```
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: http://www.mindstick.com/Forum/1017/confirmation%20msg%20box%20in%20sencha%20touch \
Mark as answer if it will resolve your problem.


---

Original Source: https://www.mindstick.com/forum/1016/how-to-create-prompt-in-sencha-touch

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
