Community Questions & Answers

How to pass value TextField to alert?

how can i pass values text field from Alert dialog? This is My text field ~~~ tableView = function(e){ var tableView = Titanium.UI.createTableView({ left : 0, right : 0, top : e.top, bottom : 0, width : Ti.UI.FILL, height :...

Android 4.4 Textfield Text Partially Hidden

I am upgrading an app to Android SDK 20, Titanium SDK 3.4 and am having an issue on Android 4.4.2 where the text in a textfield appears partially hidden - it almost looks like the text is being shifted up within the textfield. Has anybody else encountered...

Keyboard is not coming up on iOS

Hi, following the headline i got a problem here. The Keyboard is not coming up. Never. Doesn't matter if it's a textField or a Searchbar or something else. It seems like that Problem is only related to the iOS simulator cause on my iPhone 5 (iOS...

function change not working

I can change the value of textfield on change function not lock the phone. var win = Ti.UI.createWindow({ backgroundColor : '#fff' }); // Create a TextField. var myTextField = Ti.UI.createTextField({ height : 35, top : 10, left : 40, ...

Dispaly the textfiled in charts

Hi I'm using google charts api. And I'm displaying charts.html page in webview at titanium. It's working fine. But when ever i'm clicking particular column it's showing the tooltip(hint of particular value) . But I need to show the textfield instead of...

Cursor does not show in textField

i have a window with two simple inputs... but when i tab on the inputs to type something, the cursor doesn't show... [Screenshot](https://www.evernote.com/shard/s36/sh/c20a5ba9-74d6-4aa3-ba7b-e285051145ed/f1941f2c21bf5b33c10d8015bdf82f0e) The source...

Form Validation

Hi, I couldn't find a validation library, so have created a basic one .... thought I would share .... Create your textfield & add some extra vars , then attach an event to start validation. Trying to sort some way of iterating through the whole...

Problem with leftButton on textField

I'm trying to put one image on texfield, but dont't run. What's the problem? ~~~ var emailImage = Titanium.UI.createButton({ backgroundImage:'/images/login/Email_icon.png', width:'14dp', height:'15dp' }); var txt_User =...

textField support for RTL

Whether the textField is aligned to left or right using textAlign property in Android, Arabic script cannot be selected using touch gestures, nor position the cursor to edit. I know that since Android 4.2 there is a support for full RTL experience. Is...

Android Disable Auto-focus on TextField

Hi, My problem is whenever there is a textField in the window, Android will automatic select and focus on the first one. I had found many suggestion on this but no matter how i do it, Android will always focus on one of the textField even after i call...

Weird Textfield padding

I have an app that has strange textfield padding on Android devices. I use Genymotion and test on multiple devices. The only device that seems to have this issue is my Samsung Galaxy S4. I have attached two screenshots, one from my [Galaxy...

empty textfield doesn't fire onblur

I am building an app for iOS using alloy. I have a list where the user can add a name to each row or leave it blank. I use an "onblur" event to save the name in properties. So far so good. They can add names and change the names, but I...

Cursor color in a textbox

Hi When I use textbox with a white backgroundColor, I cannot see my text cursor as it is white as well. This seems to be a problem with Android 4 and SDK 3.2.x, because lower versions did not give me this problem. Is there a way to change the color of the...

Android: The Text Area doesn't scroll

Hi all! I have a problem in android build that the scroll is not working in textarea for android build while it working fine in Ipad and iphone builds. please help me out to solve this problem. thanks in advance, Abdus Sattar here is my code ~~~ var...

In-App Form

I'd like to create an in-app form so in this way a user can send me informations directly without using an external e-mail application. So I wish to create a Titanium Function that take elements from 3 textfields and a date picker and when I press on...

Showing 1-50 of 664 1 2 3 4 5 614