Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Alert Dialog with a Text Box

Can you have an alert dialog that has a text box for user input in it? I have not been able to find an example with it, if it can be done in Ti.

Thanks
Todd

— asked May 7th 2010 by Todd Tompkins
  • alert
  • alertdialog
  • iphone
  • text
  • textbox
0 Comments

3 Answers

  • Which begs the question, how do you create a custom view styled like an alert? Specifically, with a modal/translucent background…

    — answered November 4th 2010 by Justin Toth
    permalink
    0 Comments
  • As far as I know you can't. Maybe try creating a view that has the look of the alert dialog and add the textfield to it.

    — answered May 7th 2010 by Dan Giulvezan
    permalink
    0 Comments
  • Yup, Dan is right on with this one. Just use a custom view and style it like an Alert. It will really be the best way in the long run.

    — answered May 7th 2010 by Clint Tredway
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.