Community Questions & Answers

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

LG G2 Text Field errors

I have recently updated my LG G2 to the latest version of KitKat and am noticing issues with textfields. Has anyone else noticed that the text typed in text fields is appearing above the actual text field and cut off? Here is a snippet of the code I am...

Titanium.UI.TEXT_STYLE_BODY in HTML

Hi, I'm using the custom module StyledLabel to create a custom Label with HTML content. I would like to be able to change to size of the text using the Text Size option in iOS 7 but the text doesn't change. I tried this in the CSS font-family:...

Focus on textfield

Hi, I need to change the background of a textfield on focus, and make the other ones with the "normal" background in different pages on my app. The blur can also be when clicking on anything that is not a textfield like the window for...

Textfield new Line

Hello, i have a text field wich is: height:'45%', width:'75%' . If the text reaches the 75% i want to make a new line. Anybody of you know how to do this? Thanks!

Calculating textfield text length

I am working on calculating the amount of characters in a text field. I am just doing this as a basic starter application after the hello world... ~~~ //FirstView Component Constructor function FirstView() { //create object instance, a parasitic subclass...

focus() not working on ios

I am creating a piece that uploads a photo with a message. After the user either chooses a gallery image or takes a photo, a textfield is supposed to focus so the user can enter the message they'd like to send. Unfortunately, the textfield focuses and then...

textfield restriction

i need to allow 8 digit decimal number. i used max length property it works fine. but issue is when i goto middle and start typing number its typing and deleting last number. for example:- 3485.213 after that textbox will not allow numbers due to...

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

window should not create multiple

I'm struck with one issue in my project.Actually i'm doing json parse in my project it's working fine, and gettting all in the table and i'm adding the table to the window. And i'm calling that json parse form text field "change" . Every time...

Textfield getting hidden by keyboard

Hi My textfield is not sliding up and getting hidden by the keyboard. What could be the reason for this? Here is my config for the textfield http://pastie.org/988526 This is happening in both 1.2.0 and 1.3.0 Here is a video of the issue...

Text and variable

Hi guys! I'm new in Titanium, so my question can be fool. I'm trying to concatenating a text from textField and a data, ie: 'My name's ' + my_name; 'I'm ' + my_age + ' years old'; How and where I do it? Thank you for your attention guys.

Showing 1-50 of 597 1 2 3 4 5 612