Community Questions & Answers

Filling textfields causes crashes

Hello everyone. I created a function / class called Row which creates a view that contains a lable and a textfield. ~~~ function Row(rowName, additive, additiveValue){ var row = Ti.UI.createView({ height: 65, top: topPadding, width:...

How to hide Keyboard

Hi, I'm new to Titanium and i'm tryin to create a calculator app for my own use. the problem is, that none of the default apple keyboards have the buttons i need, so i'm trying to make a custom keyboard layout with buttons. My Question is now, how can i...

3.0.2 passwordMask bug

Can someone please confirm if this is a bug with Ti SDK 3.0.2 on iOS6 When passwordMask is set to true on a textField, the user is able to only type 1 character. When set to false or not included at all, it works just fine.

TextField - Background Image and Text Position

Hi, I have a textField that I am using a background image for. However, on the iPhone the text the user types starts all the way at the very left of the background image - which looks crappy. Any way to offset where the text will start relative to the...

textField + padding = lose touch!

If i user paddingRight on textfield, the field lose 50 pixels of touch on right. why? anybody have this problem? ~~~ myText = Ti.UI.createTextField({ textAlign:Ti.UI.TEXT_ALIGNMENT_RIGHT, paddingRight:5 }); ~~~ I use SDK 3.0.2.GA on iPhone.

Titanium Js issues

HI Developer Good Eve, I have one doubt in my current POC. How can i use one js page variables or textfield values in another js page. For Eg :- A.js i have clientName = John (This is textField value) B.js i want to display that clientName value in...

textfield without border

Hi, Im creating a textfield on android : here is its style in tss file : ~~~~~ "TextField" : { borderStyle: Ti.UI.INPUT_BORDERSTYLE_NONE, left: 5, width: Ti.UI.FILL, font: {fontSize: '12sp'} } ~~~~~ But i have still the border : look at...

weird bug after clicking on textField

Hi, im developping a window (http://dzmob.net/tags.png) which displays tags for a photo and allows to add a tag : when there is no tags for a photo. a click on textField which allows to write tag and add it generates this weird exception !!!...

Placing cursor in textfiled

Is there anyway of placing the cursor in a specific position of a textfield in titanium or if not how it can be done otherwise? As far as I have searched this forum I haven't found a solution to position the cursor in a textfield or textarea. Thanks Oam

Calculate with textField values

Hi. I have 2 textFields that i put nrs in. I want to show the differential in a third textfield when the two first is filled. How can i do that? I have tried this (With no luck) ~~~ var small_nr = Ti.UI.createTextField({height:'20dp',left:'42dp', ...

Strange behavier of editing text?

Hey, if i wanna edit my field like so: Enter a word and edit ONE LETTER in this word... So i jump to th position of the letter and hit "delete". the letter is deleted but the "editcursor" jumps to the end of the word... ? Seems very...

Focus textfield on start window

Hi, I'm develop an Android application. I have a textfield added to a window inside a tab. When window opens, this textfield get focus (why?) and show me keyboard. I want my textfield does not have focus or at least I the keyboard doesn't start. I...

Showing 1-50 of 445 1 2 3 4 5 69