Community Questions & Answers

TitaniumTextField ID in Android

Hi, If I create a text field in titanium with a property called id and created an android apk. what will be the id of text field in that apk....?does it contain an id value in converted code...??If not how can I create an Id for automated testing...

Textfield - invisible cursor on android

Hello, I have a very simple question, how can I display cursor in textfield on android device ? I have recently updated project to titanium studio 3.4.1 (titanium SDK 3.4.1) I am developing on MAC - maverics. I have tryed to create my own theme...

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...

keyboard is overlying the textfield

I am developing an app using titanium classic, I have a form with a lot of text fields, when I focus on the text field at the bottom, the keyboard is displayed and overylay on the text field so I don't see what I am writing, is there any solution so I show...

keyboard is overlying the textfield

I am developing an app using titanium classic, I have a form with a lot of text fields, when I focus on the text field at the bottom, the keyboard is displayed and overylay on the text field so I don't see what I am writing, is there any solution so I show...

hintText for TextArea?

There's no hintText property for Titanium.UI.TextArea (that I can find). I could set value and remove it on focus, but that seems like a clunky way of going about things. I want it to work identically to Titanium.UI.TextField hintText. Any Best...

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...

textField Error

my little app is sending me this error in the Titanium console.. its a simple form asking for user and password. ~~~ <Error>: CGContextSetFillColorWithColor: invalid context 0x0. This is a serious error. This application, or a library it uses, is...

keyboard hide textfield

I have a windows with a view and a textfield in the view (near the bottom). When the textfield receives focus, the keyboard pops up and goes over top of the textfield. I can't see the text in the textfield I'm editing. Why is this?

Date Picker for textbox

I am developing an account creation form for Android. I want to use the date picker to fill a text field. I have created a text field, disabled editing, set a click event on the text field to open the picker and a button, and added a click event to the...

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...

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