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

DATE PICKER VALUE

Hi...!!! I have got a small problem in my app, please a have a look and see what can be the solution. I am creating a "DatePicker" in my android app and on its "change" event listener I am trying to alert the value of picker but what...

Update the label value problem

**Application type:** mobile **Titanium SDK:** 2.1.3 **Platform & version:** iOS 5.1 **Device:** iOS simulator **Host Operating System:** MAC OS **Titanium Studio:** build: 2.1.2.201208301612 Build: jenkins-titanium-rcp-master-232...

Date Picker Value

I have created a modal window that shows a date picker on iPhone and allows the user to select a date. I have this all working, but needed to put in a piece of redundant code and I am not sure why . below is the complete code of a window definition that...

Value of slider in Android is ignored!

Hey, I created a slider with a default value of 50. In iOS everything works fine, but on android it seems to be ignored. Here is my code: ~~~ var rotateSlider = Titanium.UI.createSlider({ bottom: 52 * ovenScale, min: 0, max: 100, ...

Create variable name from value?

I would like to create a variable name from a input value. For example if I had param['kitchensink'], I would like to create a variable called pp.api.data.kitchensink, so I could do something like pp.api.data.kitchensink = results. I know in other...

Date differens

Hello. I need to get the differens between two when choosing from a picker. This is my code: ~~~ var pickValue = 0; picker.addEventListener('change',function(e) { pickValue = new Date(e.value); pickValueMonth =...

get value of var inside function

Hello! I need your help guys!! I created a table view with text fields for a login window. But How can I get the values of the fields outside the functions? Thank you very much!! `inline code` var win = Titanium.UI.currentWindow; var tabGroup =...

alternate TableRow search interface

Is there a way to interface with a TableView search besides a SearchBar? It works so nicely that I hate to re implement it. Basically what I need is to feed a selection from an input object to search. I triedto interact with SearchBar.value but it always...

TableViewRow read row value

I create a TableViewRow object with a number of rows. Everyone is assigned with value. When any of them is clicked, can I access the value of the clicked row?

how to access value to inside of scrollableview ?

At first I really thank to you, Andrew and Martynas, who gave me an answer to my last question. I couldn't find any properties or method to access value inside of scrollableview. Is there any special thing like 'rowData' at scrollableview? Here is my code...

putting integers into textfields

When I have 2 text fields and want to put the (integer) value of one to an other (e.g. on blur) it is not possible. When it is a string, it does work. Now I have worked around this (see example). But is there a better way to do this? Is this a...

Getting a Picker value

iOS SDK 4.2, Titanium SDK 1.5.1 Is there any way to retrieve a Picker's value, without using change on it directly? I want to be able to hit "return" on a keyboard and get a Picker's value. The only thing I can think of is to `fireEvent` the...

xhr null value

I am getting null value for `xhr.open('POST','http://www.inetwebdesign.com.au/email.php');` and `xhr.send(data);` and i dont know why or how to fix it **my first code was ** ~~~ // // // RSVP response via HTTP POST to php script on server // var...

Passing variable to menu

How do I pass a variable through to the menu... `var win2 = Titanium.UI.createWindow({ title:'Any Lists', backgroundColor:'#333333', tabBarHidden: true, url: 'mainmenu2.js', navBarHidden : false });` In the mainmenu2.js I need a...

Possible to set the search value?

I just noticed that when searching a tableView the search is case sensitive. There doesn't appear to be a property to change this behavior, so what I'm trying to do is use a change event for the searchBar to listen to the user typing something, then make...

textarea pasted values problem

in the Titanium Desktop when I paste items into my app's textareas the formatting looks great. When I check the value of the textarea, ala: ~~~ var v = document.form1.textarea1.value; ~~~ then the value comes back with all linefeeds(n) removed. If I add...

Showing 1-39 of 39